Skip to content

Commit

Permalink
fix: update-cmake workflow shall run on main branch (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Jun 27, 2024
1 parent bf99968 commit f255925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
# run the GHA tests.
- uses: actions/create-github-app-token@v1
id: app-token
if: github.ref == 'refs/heads/master' && github.repository == 'scikit-build/cmake-python-distributions'
if: github.ref == 'refs/heads/main' && github.repository == 'scikit-build/cmake-python-distributions'
with:
app-id: ${{ secrets.SCIKIT_BUILD_BOT_APP_ID }}
private-key: ${{ secrets.SCIKIT_BUILD_BOT_APP_PRIVATE_KEY }}

- name: Create Pull Request
if: github.ref == 'refs/heads/master' && github.repository == 'scikit-build/cmake-python-distributions'
if: github.ref == 'refs/heads/main' && github.repository == 'scikit-build/cmake-python-distributions'
uses: peter-evans/create-pull-request@v6
with:
commit-message: '[Bot] Update to CMake ${{ steps.bump-cmake.outputs.version }}'
Expand Down

0 comments on commit f255925

Please sign in to comment.