Skip to content

Commit

Permalink
👷 Auto-fix commits and pull requests by coworkers
Browse files Browse the repository at this point in the history
  • Loading branch information
NatoBoram committed Nov 1, 2024
1 parent 0a51dbf commit f491d39
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Fix

on:
push:
branches: main
pull_request:
branches: main

jobs:
fix:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: latest
cache: pnpm
- run: pnpm install
- run: pnpm run lint:fix

- uses: qoomon/actions--create-commit@v1
id: actions--create-commit
with:
message: |
🎨 pnpm run lint:fix
[dependabot skip]
skip-empty: true
token: ${{ secrets.GITHUB_TOKEN }}

- if: steps.actions--create-commit.outputs.commit != null
run: git push

0 comments on commit f491d39

Please sign in to comment.