diff --git a/.github/workflows/py312-sync-cpython.yml b/.github/workflows/py312-sync-cpython.yml index 36e3771018..561e2a1134 100644 --- a/.github/workflows/py312-sync-cpython.yml +++ b/.github/workflows/py312-sync-cpython.yml @@ -6,6 +6,7 @@ on: - "3.12" schedule: - cron: "0 0 * * *" + pull_request: jobs: sync: @@ -14,7 +15,7 @@ jobs: VERSION: "3.12" BRANCH: "cron/sync/3.12" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ env.VERSION }} @@ -33,7 +34,7 @@ jobs: - name: Sync with CPython run: make clone && make merge && make rm_cpython - - uses: tibdex/github-app-token@v1 + - uses: tibdex/github-app-token@v2 id: generate-token with: app_id: ${{ secrets.APP_ID }} @@ -50,15 +51,15 @@ jobs: base: ${{ env.VERSION }} branch: ${{ env.BRANCH }} delete-branch: false - title: 'Sync with CPython ${{ env.VERSION }}' + title: "Sync with CPython ${{ env.VERSION }}" body: | Sync with CPython ${{ env.VERSION }} draft: true labels: | sync-cpython automation - + - 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 }}"