Skip to content

Commit 8b8e3c2

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 c9f4f61 commit 8b8e3c2

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
@@ -7,12 +7,12 @@ on:
77
paths-ignore:
88
- "README.md"
99
workflow_dispatch:
10+
repository_dispatch:
1011

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

0 commit comments

Comments
 (0)