Skip to content

Commit da2839b

Browse files
fix: Update release CI to now correctly trigger on release, not on master
1 parent 1002328 commit da2839b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release_to_galaxy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ on:
55
push:
66
tags:
77
- 'v[0-9]+.[0-9]+.[0-9]+' # Matches tags like v1.0.0, v2.1.5, etc.
8-
branches:
9-
- 'master' # Ensures the workflow runs on pushes to the main branch
108
permissions:
119
contents: write
1210
issues: write
1311
pull-requests: write
1412

1513
jobs:
1614
release:
15+
if: github.ref == 'refs/heads/master'
1716
runs-on: ubuntu-latest
1817
name: Release to AAP and Galaxy
1918

0 commit comments

Comments
 (0)