Skip to content

Commit

Permalink
ci: add renovate and autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbapapazes committed Aug 19, 2024
1 parent 929be3b commit a18dd5b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: autofix.ci # needed to securely identify the workflow

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- run: corepack enable
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 20.5
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Lint & Fix
run: pnpm run lint:fix

- uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>Barbapapazes/renovate-config"
]
}

0 comments on commit a18dd5b

Please sign in to comment.