diff --git a/.github/workflows/post_merge.workflow.yaml b/.github/workflows/post_merge.workflow.yaml index 799e47f..244debd 100644 --- a/.github/workflows/post_merge.workflow.yaml +++ b/.github/workflows/post_merge.workflow.yaml @@ -11,13 +11,14 @@ concurrency: jobs: update-interdependencies: + if: ${{ github.actor != 'github-actions[bot]' && github.event_name != 'push' || github.event.pusher.name != 'github-actions[bot]' }} runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.AUTO_COMMIT_BOT }} - uses: ./.github/actions/setup-repo - run: just update-interdependencies - uses: stefanzweifel/git-auto-commit-action@v5 @@ -25,6 +26,7 @@ jobs: commit_message: "[AutoCommit] update inter dependent modules" release: + if: ${{ github.actor != 'github-actions[bot]' && github.event_name != 'push' || github.event.pusher.name != 'github-actions[bot]' }} runs-on: ubuntu-latest needs: - update-interdependencies