From 5ce9999bf6b0f47a01d29524a6137bc4ab5015fb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:00:13 +0100 Subject: [PATCH] Update onpr_automerge.yaml --- .github/workflows/onpr_automerge.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/onpr_automerge.yaml b/.github/workflows/onpr_automerge.yaml index 6cdc55ad4..229106c9c 100644 --- a/.github/workflows/onpr_automerge.yaml +++ b/.github/workflows/onpr_automerge.yaml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add the automerge label - if: ${{ (github.event.issue.pull_request) && (contains(github.event.comment.body, '/automerge')) }} # <--- The other way to compare if it's on a PR or on an issue + if: contains(github.event.comment.body, '/automerge' # <--- The other way to compare if it's on a PR or on an issue uses: actions/github-script@v4 with: github-token: ${{secrets.GITHUB_TOKEN}}