diff --git a/.github/workflows/compile-requirements.yml b/.github/workflows/compile-requirements.yml index 05290001..c83187c2 100644 --- a/.github/workflows/compile-requirements.yml +++ b/.github/workflows/compile-requirements.yml @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v5 with: token: ${{ secrets.GITHUB_TOKEN }} + ref: ${{ github.head_ref || github.ref }} - name: Set up Python uses: actions/setup-python@v6 @@ -43,7 +44,7 @@ jobs: if: steps.check_changes.outputs.changed == 'true' run: | git config --local user.name 'github-actions[bot]' - git config --local user.email 'github-actions[bot]@users.noreply.github.com' + git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com' git add requirements.txt git commit -m "chore: update cog requirements.txt" git push