Skip to content

Commit

Permalink
Fix workflow branch syntax (#90)
Browse files Browse the repository at this point in the history
In a previous PR we used `branch` syntax to trigger the pipeline when a push on `main` was made. This was a mistake and `branches` is the correct syntax that achieves this.
  • Loading branch information
edif2008 authored Dec 18, 2024
1 parent 06962f2 commit 6483669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branch: [main]
branches: [main]
pull_request:
name: Lint

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branch: [main]
branches: [main]
pull_request:
name: Run acceptance tests

Expand Down

0 comments on commit 6483669

Please sign in to comment.