Bump github/codeql-action from 1 to 4 #317
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: PR Tasks Completed Check | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| jobs: | |
| task-check: | |
| name: Task Check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| # The action cannot annotate the PR when run from a PR fork or authored by Dependabot. | |
| if: > | |
| github.event.pull_request.draft == false && | |
| github.event.pull_request.head.repo.fork == false && | |
| github.event.pull_request.user.login != 'dependabot[bot]' | |
| steps: | |
| - name: Cancel previous | |
| uses: styfle/[email protected] | |
| with: | |
| access_token: ${{ github.token }} | |
| - uses: kentaro-m/[email protected] | |
| with: | |
| repo-token: '${{ secrets.GITHUB_TOKEN }}' |