Skip to content

Commit 5982ad6

Browse files
committed
refactor(ci): drop redundant if condition
The release job had a broad `if:` condition that just re-checked the event type. Simplify: filter in the trigger, drop the if. Also add `repository_dispatch` to the triggers for consistency.
1 parent 9b36244 commit 5982ad6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
paths-ignore:
77
- "README.md"
88
workflow_dispatch:
9+
repository_dispatch:
910

1011
jobs:
1112
release:
1213
name: Release
1314
runs-on: ubuntu-latest
14-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
1515
steps:
1616
- uses: actions/checkout@v7
1717
- uses: actions/setup-node@v6

0 commit comments

Comments
 (0)