Skip to content

Commit

Permalink
ci: change trigger to git tag
Browse files Browse the repository at this point in the history
- change trigger for api workflow to git tag starting with `v`
- change trigger for cleanup workflow to git tag starting with `v`
- change trigger for dashboard workflow to git tag starting with `v`
- change trigger for symbolicator-android workflow to git tag starting
with `v`
  • Loading branch information
detj committed Aug 19, 2024
1 parent 756c00e commit be0419d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
push:
name: Build and push image
runs-on: ubuntu-latest
#if: github.ref_type == 'tag'
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
needs: [build, test]
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
push:
name: Build and push image
runs-on: ubuntu-latest
# if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
needs: [build, test]
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
push:
name: Build and push image
runs-on: ubuntu-latest
#if: github.ref_type == 'tag'
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
needs: [unit-test]
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/symbolicator-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
push:
name: Build Docker image
runs-on: ubuntu-latest
#if: github.ref_type == 'tag'
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
needs: [build-and-test]
permissions:
contents: read
Expand Down

0 comments on commit be0419d

Please sign in to comment.