fix: correct Linear API key settings URL #143
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: CI | |
| on: # yamllint disable-line rule:truthy | |
| workflow_dispatch: | |
| workflow_call: | |
| inputs: | |
| skip_commit_validation: | |
| description: >- | |
| Skip the commit-subject check - it only makes sense pre-merge | |
| (should this PR be mergeable), not as a post-merge gate. | |
| required: false | |
| type: boolean | |
| default: false | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: app | |
| steps: | |
| - | |
| uses: actions/checkout@v7 | |
| - | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: "29.0.3" | |
| elixir-version: "1.20.3" | |
| # Without this, setup-beam's problem matchers promote every | |
| # compiler warning from deps (e.g. postgrex/rewrite's deprecated | |
| # `xref: [exclude: ...]`, yamerl's deprecated `catch ...` syntax - | |
| # both already at their latest published Hex versions, so not | |
| # fixable from here) into noisy GH Actions annotations. See #9. | |
| disable_problem_matchers: true | |
| - | |
| name: Cache deps/build | |
| uses: actions/cache@v6 | |
| with: | |
| path: | | |
| app/deps | |
| app/_build | |
| key: ${{ runner.os }}-mix-${{ hashFiles('app/mix.lock') }} | |
| - | |
| # mix ci covers deps.get, format --check-formatted, | |
| # usage_rules.sync --check (catches dep-bump drift, see #79), | |
| # and mix test. Runs from the repo root; cd: app/ is handled | |
| # inside the task itself. | |
| run: mix ci | |
| working-directory: . | |
| conventional_commits: | |
| if: inputs.skip_commit_validation != true | |
| name: Validate Commit Subjects | |
| runs-on: ubuntu-latest | |
| steps: | |
| - | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| # pull_request's default ref is the synthetic refs/pull/N/merge test-merge | |
| # commit (subject "Merge <sha> into <sha>"), not the PR branch tip - check | |
| # out the real head SHA instead so that commit is never in the validated | |
| # range. Falls back to github.sha for non-PR triggers (workflow_dispatch/ | |
| # workflow_call), where github.event.pull_request is unset. | |
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| - | |
| env: | |
| FETCH_BASE_REF: "true" | |
| run: ./ci/conventional_commits.sh |