diff --git a/.github/workflows/py312-sync-cpython.yml b/.github/workflows/py312-sync-cpython.yml index 5f00f1835f..8bf52c2882 100644 --- a/.github/workflows/py312-sync-cpython.yml +++ b/.github/workflows/py312-sync-cpython.yml @@ -1,11 +1,7 @@ name: python-3.12-sync-with-cpython on: - push: - branches: - - "3.12" - schedule: - - cron: "0 0 * * *" + pull_request: jobs: sync: @@ -41,7 +37,7 @@ jobs: - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v6 with: token: ${{ steps.generate-token.outputs.token }} commit-message: sync with cpython ${{ env.LATEST_COMMIT_ID }} @@ -61,4 +57,4 @@ jobs: - name: Check outputs run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" - echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" \ No newline at end of file + echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"