mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 01:58:40 -05:00
Add GitHub Actions workflow for automatic code formatting (#5157)
This commit is contained in:
committed by
GitHub
parent
b5f29ccb4a
commit
d27d62b5fc
23
.github/workflows/autofix.yml
vendored
Normal file
23
.github/workflows/autofix.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: autofix.ci
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
autofix:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up environment
|
||||
uses: ./.github/actions/setup
|
||||
- name: Format code
|
||||
run: yarn lint:fix
|
||||
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
|
||||
6
upcoming-release-notes/5157.md
Normal file
6
upcoming-release-notes/5157.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Add GitHub Actions workflow for automatic code formatting
|
||||
Reference in New Issue
Block a user