Skip to content

Commit

Permalink
Setup autofix in CI (#117)
Browse files Browse the repository at this point in the history
* Add autofix CI job

* Break formatting

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
webmaster128 and autofix-ci[bot] authored Jul 29, 2024
1 parent 0fbdec4 commit 21c4246
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: autofix.ci # needed to securely identify the workflow

on:
pull_request:

permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install npx (for prettier)
run: sudo apt install nodejs

- name: Format
run: ./scripts/format.sh

# Get latest version from https://autofix.ci/setup
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a

0 comments on commit 21c4246

Please sign in to comment.