Skip to content

Commit

Permalink
fix: run sonar on release tags not on push to main (#190)
Browse files Browse the repository at this point in the history
* fix: run sonar on release tags not on push to main

* test: make pr eligible for release
  • Loading branch information
JossWhittle authored Nov 14, 2024
1 parent b734447 commit cdc1ac2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azurekeycloaktester-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
# Only release off of release and maintenance branches for this asset
branches:
- 'main'
# Only consider pushes that change files for this asset, including ci scripts
# Only consider pushes that change files for this asset, including ci scripts.
paths:
- '.github/workflows/azurekeycloaktester-container.yaml'
- 'containers/AzureKeycloakTester/**'
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/azurekeycloaktester-sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ on:
- '.github/workflows/azurekeycloaktester-sonar.yaml'
- 'containers/AzureKeycloakTester/**'
push:
# Only release off of release and maintenance branches for this asset
branches:
- 'main'
# Only consider pushes that change files for this asset, including ci scripts
paths:
- '.github/workflows/azurekeycloaktester-sonar.yaml'
- 'containers/AzureKeycloakTester/**'
# Only trigger off of relevant release tags
tags:
- 'v*.*.*-azurekeycloaktester-container'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit cdc1ac2

Please sign in to comment.