diff --git a/.github/workflows/broadcast_api_changes.yml b/.github/workflows/broadcast_api_changes.yml index ca539f43..cd2d4a46 100644 --- a/.github/workflows/broadcast_api_changes.yml +++ b/.github/workflows/broadcast_api_changes.yml @@ -20,6 +20,7 @@ jobs: uses: dev-hanz-ops/install-gh-cli-action@v0.1.0 - name: Open issue on wrapper run: | - gh issue create -R codecov/wrapper -t 'New change on CLI' -b "$(gh pr diff)" + gh issue create -R codecov/wrapper -t 'New change on CLI' -b "$(gh pr diff $BRANCH)" env: + BRANCH: ${{ github.head_ref }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}