Repository navigation
Report cancelled jobs with a separate job status in init-post
#3096
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: Label PR with size | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - edited | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| sizeup: | |
| name: Label PR with size | |
| runs-on: ubuntu-slim | |
| if: github.event.pull_request.merged != true | |
| steps: | |
| - name: Run sizeup | |
| uses: lerebear/sizeup-action@b7beb3dd273e36039e16e48e7bc690c189e61951 # 0.8.12 | |
| with: | |
| token: "${{ secrets.GITHUB_TOKEN }}" | |
| configuration-file-path: ".github/sizeup.yml" |