remove old fields from schema, ignore seed errors #465
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: Lint & format | |
on: | |
push: | |
branches-ignore: [dev, main, renovate/*] | |
jobs: | |
lintformat: | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GH_ACT_PAT }} | |
name: 'Lint & format' | |
runs-on: ubuntu-latest | |
steps: | |
# Setup steps | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
ref: ${{ github.head_ref }} | |
fetch-depth: 0 | |
- name: Import GPG key | |
id: import_gpg | |
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6 | |
with: | |
gpg_private_key: ${{ secrets.BOT_GPG_KEY }} | |
git_user_signingkey: true | |
git_config_global: true | |
git_commit_gpgsign: true | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
run_install: false | |
# standalone: true | |
- name: Install Node.js | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint projects | |
run: pnpm lint:fix | |
if: always() | |
id: lint | |
- name: Format projects | |
run: pnpm format | |
if: always() | |
id: format | |
# Commit changes | |
- name: Commit changed files | |
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9 | |
if: always() | |
with: | |
message: 'chore: lint & format' | |
commit: --signoff --no-verify | |
committer_name: InReach [bot] | |
committer_email: [email protected] | |
author_name: InReach [bot] | |
author_email: [email protected] |