Skip to content

Commit a586455

Browse files
committed
ci: fix tag filtering for release events with job-level if
1 parent b985799 commit a586455

5 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/publish-dart.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: publish-dart
22
on:
33
release:
44
types: [published]
5-
tags:
6-
- 'dart/*'
75
jobs:
86
publishing:
7+
if: startsWith(github.ref, 'refs/tags/dart/')
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v4

.github/workflows/publish-django.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: publish-django
22
on:
33
release:
44
types: [published]
5-
tags:
6-
- 'django/*'
75
jobs:
86
publish:
7+
if: startsWith(github.ref, 'refs/tags/django/')
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v4

.github/workflows/publish-fastapi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: publish-fastapi
22
on:
33
release:
44
types: [published]
5-
tags:
6-
- 'fastapi/*'
75
jobs:
86
publish:
7+
if: startsWith(github.ref, 'refs/tags/fastapi/')
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v4

.github/workflows/publish-flutter.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: publish-flutter
22
on:
33
release:
44
types: [published]
5-
tags:
6-
- 'flutter/*'
75
jobs:
86
publishing:
7+
if: startsWith(github.ref, 'refs/tags/flutter/')
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v4

.github/workflows/publish-python.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: publish-python
22
on:
33
release:
44
types: [published]
5-
tags:
6-
- 'python/*'
75
jobs:
86
publish:
7+
if: startsWith(github.ref, 'refs/tags/python/')
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)