Skip to content

Commit

Permalink
ci: ignore auto-version-* branches in lint workflow
Browse files Browse the repository at this point in the history
As discussed here, workflows cannot be triggered for PRs created by bot accounts.

peter-evans/create-pull-request#48

There are workarounds, but they involve more work than they're worth.
For now, let's assume that these auto-version- branches don't need to be
linted. They only make a single change to package.json, anyway.
  • Loading branch information
egargan committed Aug 13, 2024
1 parent 467f7f7 commit 3d32595
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI
on: pull_request
on:
pull_request:
branches-ignore:
- "auto-version-*"
jobs:
ci:
name: Run linter and formatter
Expand Down

0 comments on commit 3d32595

Please sign in to comment.