Repository navigation
fix(ffmpeg-patches): pass the NVENC smoke's skip only when its reason is named #188
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
| --- | |
| # REUSE licensing gate, written by praetorctl adopt because the repository | |
| # carries REUSE.toml or LICENSES/. It runs reuse lint at the release line the | |
| # reuse-lint pre-commit job of lefthook.yml requires. | |
| name: REUSE | |
| 'on': | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| push: | |
| branches: ['master'] | |
| permissions: | |
| contents: read | |
| jobs: | |
| reuse: | |
| name: REUSE lint | |
| runs-on: ubuntu-26.04 | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Stop on a draft pull request | |
| if: github.event.pull_request.draft == true | |
| env: | |
| TITLE: Gate not run on a draft | |
| MESSAGE: >- | |
| The gate did not run because the pull request is a draft. | |
| It runs when the pull request is marked ready for review. | |
| run: | | |
| echo "::error title=$TITLE::$MESSAGE" | |
| echo "$MESSAGE" >> "$GITHUB_STEP_SUMMARY" | |
| exit 1 | |
| - name: Check out the source | |
| if: github.event.pull_request.draft != true | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: reuse lint | |
| if: github.event.pull_request.draft != true | |
| uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0 |