Bump actions/checkout from 5.0.0 to 5.0.1 #1293
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Labeller Recheck | |
| on: | |
| pull_request_target: | |
| types: [labeled] | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| actions: write | |
| jobs: | |
| trigger-auto-label: | |
| runs-on: ubuntu-latest | |
| if: github.event.label.name == 'labeller-recheck' | |
| steps: | |
| - name: Call Auto Label workflow | |
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| console.log('Labeller recheck triggered for PR #' + context.payload.pull_request.number); | |
| // Trigger the auto-label workflow | |
| await github.rest.actions.createWorkflowDispatch({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| workflow_id: 'auto-label-pr.yml', | |
| ref: context.payload.pull_request.base.ref, | |
| inputs: { | |
| pr_number: context.payload.pull_request.number.toString() | |
| } | |
| }); |