diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ba7cf85..5225d0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,10 @@ concurrency: ${{ github.workflow }} jobs: get_pull_request: runs-on: ubuntu-latest + + # os-botify[bot] will update the version on `main`, so this check is important to prevent an infinite loop + if: ${{ github.actor != 'os-botify[bot]' }} + outputs: pull_request_number: ${{ steps.getMergedPullRequest.outputs.number }} steps: