From 5982ad6ddd5bc9f9e852dfe42b60f3d03d90387c Mon Sep 17 00:00:00 2001 From: 3alpha <15694175+3alpha@users.noreply.github.com> Date: Thu, 9 Jul 2026 10:48:45 +0200 Subject: [PATCH] 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. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 347089c..1fa71eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,12 +6,12 @@ on: paths-ignore: - "README.md" workflow_dispatch: + repository_dispatch: jobs: release: name: Release runs-on: ubuntu-latest - if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v6