Repository navigation
feat(linux): sidebar refresh, save to .sql, and visible storage errors #397
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: PR Title | |
| # A squash merge uses the title as the commit subject. synchronize is listed so every new head | |
| # commit gets the check too, which a required check needs. | |
| on: | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| concurrency: | |
| group: pr-title-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| title: | |
| name: PR title | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 2 | |
| sparse-checkout: scripts | |
| - name: Check the title is a Conventional Commits subject within 72 characters | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| run: python3 scripts/ci/check-pr-title.py "$TITLE" | |
| # The checkout is the merge commit, so its first parent is the base the pull request lands on. | |
| - name: Check the added lines and the description against the banned words | |
| env: | |
| BODY: ${{ github.event.pull_request.body }} | |
| run: | | |
| printf '%s\n' "$BODY" > "$RUNNER_TEMP/pr-body.md" | |
| status=0 | |
| scripts/check-banned-words.sh --base HEAD^1 || status=1 | |
| scripts/check-banned-words.sh "$RUNNER_TEMP/pr-body.md" || status=1 | |
| exit "$status" |