This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
Merge pull request #1780 from ciderapp/snyk-upgrade-2c733606982a2f290… #288
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cider Chores | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
- name: Prettify code | |
run: npm run format:write | |
- name: Commit Prettier Code | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore: Prettified Code\n [ci skip]" | |
commit_user_name: "cider-chore[bot]" | |
commit_user_email: "cider-chore[bot]@users.noreply.github.com" |