From cb4580c0d9607ce4705757964ab39deaf17c2c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Mon, 16 Sep 2024 16:18:01 +0200 Subject: [PATCH] Remove github-push-action --- .github/workflows/translations.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index eb4ec2362..933d9686f 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -50,7 +50,7 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - name: Commit the changes to wiki + - name: Commit and push the changes to wiki shell: sh working-directory: wiki run: | @@ -60,17 +60,11 @@ jobs: if ! git diff --cached --quiet; then git commit -m "Automatic translations update" + + git push fi - - name: Push changes to wiki - uses: ad-m/github-push-action@v0.8.0 - with: - github_token: ${{ secrets.ARCHIBOT_GITHUB_TOKEN }} - branch: master - directory: wiki - repository: ${{ github.repository }}.wiki - - - name: Commit the changes to ASF + - name: Commit and push the changes to ASF shell: sh run: | set -eu @@ -79,10 +73,6 @@ jobs: if ! git diff --cached --quiet; then git commit -m "Automatic translations update" - fi - - name: Push changes to ASF - uses: ad-m/github-push-action@v0.8.0 - with: - github_token: ${{ secrets.ARCHIBOT_GITHUB_TOKEN }} - branch: ${{ github.ref }} + git push + fi