Skip to content

Commit

Permalink
chore: run prettier on the canary branch when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Sep 25, 2024
1 parent a318e2b commit fbad9c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Prettier

on:
push:
branches: [main]
branches: [main, canary]
workflow_dispatch:

concurrency:
Expand All @@ -23,7 +23,6 @@ jobs:
with:
cache: pnpm
node-version: lts/*

- run: pnpm install --dev --ignore-scripts
- uses: actions/cache@v4
with:
Expand All @@ -39,7 +38,7 @@ jobs:
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7
with:
body: I ran `pnpm format` 🧑‍💻
branch: actions/prettier
branch: "actions/prettier-${{ github.ref_name }}"
commit-message: 'chore(prettier): 🤖 ✨'
labels: 🤖 bot
sign-commits: true
Expand Down

0 comments on commit fbad9c9

Please sign in to comment.