fix(ci): skip RC tags in AUR workflow
Only trigger AUR package update on stable version tags, not release candidates. cc
This commit is contained in:
1 parent
3d497a33b0
commit
c380434619
1 file changed
+2
-2
@@ -20,8 +20,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
update-aur:
|
update-aur:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Only run if the triggering workflow succeeded (or manual dispatch)
|
# Only run on manual dispatch, or successful stable tag releases (no -rc)
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_branch, 'v') && !contains(github.event.workflow_run.head_branch, '-rc')) }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in new issue
Block a user