diff --git a/.github/workflows/gettext.yml b/.github/workflows/gettext.yml index c60b535f8..ef0219ac3 100644 --- a/.github/workflows/gettext.yml +++ b/.github/workflows/gettext.yml @@ -1,14 +1,29 @@ name: Gettext Updates + on: push: branches: master + jobs: - gettext_template: + build: runs-on: ubuntu-22.04 + container: + image: elementary/docker:next-unstable + steps: - - uses: actions/checkout@v1 - - uses: elementary/actions/gettext-template@horus + - name: Install git + run: | + apt-get update + apt-get install git -y + + - name: Clone repository + uses: actions/checkout@v3 + with: + token: ${{ secrets.GIT_USER_TOKEN }} + + - name: Update Translation Files + uses: elementary/actions/gettext-template@next env: - GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" + GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }} GIT_USER_NAME: "elementaryBot" GIT_USER_EMAIL: "builds@elementary.io" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fcf526c5..3b9ed1d52 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: elementary/actions/release@master env: GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"