From f255925f16a84880bd3780cd043c0e38849fca3f Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Thu, 27 Jun 2024 08:21:39 +0200 Subject: [PATCH] fix: update-cmake workflow shall run on `main` branch (#514) --- .github/workflows/update-cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-cmake.yml b/.github/workflows/update-cmake.yml index c777419f..414021db 100644 --- a/.github/workflows/update-cmake.yml +++ b/.github/workflows/update-cmake.yml @@ -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 }}'