Skip to content

Commit 92a7bdf

Browse files
chore: run appinspect api on release branches (#376)
### Description Run `appinspect api` job for `release/` branches in `build-test-release` pipeline Ticket: https://splunk.atlassian.net/browse/ADDON-77779 Tested in the following cases where appinspect api job is: - Running for PR with “release/“ base: https://github.com/splunk/splunk-add-on-for-microsoft-cloud-services/actions/runs/13626390125 - Running for manual trigger on “release/“ branch: https://github.com/splunk/splunk-add-on-for-microsoft-cloud-services/actions/runs/13626413937 - Not running for chore/ branch: https://github.com/splunk/splunk-add-on-for-microsoft-cloud-services/actions/runs/13626445165 ### Checklist - [ ] `README.md` has been updated or is not required - [ ] push trigger tests - [ ] manual release test - [ ] automated releases test - [ ] pull request trigger tests - [ ] schedule trigger tests - [ ] workflow errors/warnings reviewed and addressed ### Testing done (for each selected checkbox, the corresponding test results link should be listed here)
1 parent 9023beb commit 92a7bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ jobs:
881881
if: |
882882
!cancelled() &&
883883
needs.build.result == 'success' &&
884-
( github.base_ref == 'main' || github.ref_name == 'main' )
884+
( github.base_ref == 'main' || github.ref_name == 'main' || startsWith(github.base_ref, 'release/') || startsWith(github.ref_name, 'release/') )
885885
runs-on: ubuntu-latest
886886
strategy:
887887
fail-fast: false

0 commit comments

Comments
 (0)