Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows permission
Browse files Browse the repository at this point in the history
mauriciabad authored Oct 17, 2023
1 parent f52d8fb commit fdfa212
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ on: push

permissions:
contents: write
workflows: write

jobs:
lintfix:
@@ -51,14 +52,9 @@ jobs:
- name: 🖌️ Run format
run: pnpm format

- name: 🍾 Commit changes
run: |
git config --local user.email "56104765+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "chore: Auto-fix lint errors"
- name: 🍾 Push changes
- name: 🍾 Commit & Push changes
uses: ad-m/github-push-action@master
with:
message: 'chore: Auto-fix lint errors'
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit fdfa212

Please sign in to comment.