feat(dbs-builder):replace $ with fiat model damage unit in metrics #43
Workflow file for this run
This file contains 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: Linting PR description | |
on: | |
pull_request: | |
types: [opened, reopened, edited] | |
jobs: | |
lint-description: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: restore cache | |
id: cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: ~/.cargo/bin | |
key: commitlint | |
- name: install rust | |
if: steps.cache.outputs.cache-hit != 'true' | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
cache: false | |
- name: compile binary | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
cargo install commitlint-rs | |
- uses: actions/cache/save@v4 | |
if: steps.cache.outputs.cache-hit != 'true' | |
with: | |
key: commitlint | |
path: ~/.cargo/bin | |
- name: Lint message | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
gh pr view $PR_NUMBER --json title,body --jq ".title,.body" > lint-message.txt | |
commitlint --edit lint-message.txt |