generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: CI/CD Pipelines #259
Merged
Changes from 250 commits
Commits
Show all changes
318 commits
Select commit
Hold shift + click to select a range
2e760c5
fix: if conditions
b009a77
fix: production branch calculation
0fc137a
fix: release artifact name
c991efa
fix: release artifact name
cea08eb
Merge branch 'SAP:main' into main
Johannes-Schneider aba10b2
feat: create new CI workflow
eea5bc4
refactor: change parameter descriptions in CI workflow
4544c4d
refactor: rename some jobs
c86c788
fix: check formatting is always executed
4a47a75
refactor: move individual actions into CI pipeline
b27d092
refactor: repository-version is now a required parameter
493880e
refactor: repo version parameter in CI pipeline
abdd1b0
refactor: trigger CI-Build workflow from regular CI job
54b4846
fix: expose GH_TOKEN env var
3f81e03
fix: checkout repo in Run CI Build job
80d2887
fix: workflow invocation
109443a
feat: add reusable action to trigger a workflow
d48de2b
fix: parameter list
833f6da
fix: parameter list
87445f2
fix: parameter list
99bae41
fix: typo
5bdc648
chore: add workflow URL to step summary
b29c93b
fix: poll run status manually
7ea6480
chore: slightly change step summary output
4fe3c48
feat: add workflow ref parameter
8c0ddaf
chore: update error message
c64fc23
chore: revert back to using gh run watch
febc0fa
fix: remove comment block
999ea48
chore: back to manual polling
6e798bb
throwaway: print github context
6885fdd
fix: provide a proper branch name for the workflow ref
d99573b
throwaway: debug logs
8650d0d
fix: jq commands
ff1b5db
fix: determine workflow status
34cae62
feat: cancel ci build eagerly
50ec688
feat: consider aborted workflows
5324531
chore: tiny improvements
ec37356
chore: remove github context logging
4552cb5
fix: use correct commit sha for pull requests
5ab7bc5
refactor: split run workflow action in two parts
e513bef
fix: remove the waiting part in trigger workflow
04d9fb9
fix: run id in await workflow
628be60
feat: add PR status
9545572
fix: remove github token var
942f442
feat: report status
0226a98
fix: try passing sha as string
fb610cc
fix: use correct parameter name
6812b08
fix: typo
e53adb9
fix: typo
921d32c
chore: print github script output earlier
35798ce
fix: result logging
d2fee40
refactor: change to create commit status
b0d7836
fix: typo
447d14c
fix: permissions
1d95e27
feat: report final commit status
b57e636
fix: final commit status
adf4355
fix: waiting for the workflow
b32900d
fix: increase gh watch interval to avoid rate limits
618c3c3
fix: increase polling intervals to avoid running into rate limits
2bbb146
fix: commit check status
4098b54
refactor: separate main-build and pr-build
363c4e1
chore: minor improvements
ca3c69c
Merge pull request #13 from Johannes-Schneider/feat/report-status
Johannes-Schneider 9541128
Merge branch 'SAP:main' into main
Johannes-Schneider 87ad04f
refactor: move commit status creation / updating to the await workflo…
44dc956
fix: add needed permissions for the main build
0251374
fix: minor left over comments
4feb237
feat: (WIP) add new workflow to delete stale caches
fcb9a8b
fix: workflow trigger
c638386
Merge pull request #14 from Johannes-Schneider/feat/delete-stale-bran…
Johannes-Schneider 0486d6c
refactor: use branch ref instead of pull request ref for ci workflow
1b8cbc1
Merge branch 'SAP:main' into main
Johannes-Schneider e65acef
refactor: increase default polling interval and adjust workflow param…
88aacb0
feat: create re-usable workflow for (PR) builds
96b9191
chore: remove old PR build workflow
1bbc488
fix: workflow trigger
08b4609
fix: quoting in job condition
00eeb08
fix: bash comparison syntax
36a50ef
chore: add debug statement to see current github context
f69580f
chore: add debug statement to see current github context
d73540c
fix: get correct event name
f5e808c
fix: restore sdk m2 for code analysis and tests
7341a2d
fix: download artifacts to correct paths
1b6ff6b
fix: env vars
c89604b
fix: archetype working dirs
322099f
chore: make workflow parameters required
98b5dd1
fix: provide sha and ref to codeql action
4ed3306
fix: use correct refs name for codeql
914f9e4
chore: remove branch parameter as the codeql warning cannot be avoided
e78f61e
fix: workflow parameter types
e3bacb3
Merge pull request #16 from Johannes-Schneider/feat/replace-old-workf…
Johannes-Schneider 7297fae
Merge branch 'SAP:main' into main
Johannes-Schneider faa1cb7
feat: use new continuous-integration workflow in main-build
2fcf400
fix: trigger workflow invocation
66c5380
fix: typo in ci workflow
aa65ab5
Merge branch 'SAP:main' into main
Johannes-Schneider be947f0
fix: create release artifacts in a different folder
919aab4
fix: create release artifacts in a different folder
536ca65
fix: upload release artifacts
c419666
fix: download release artifacts
4e20f38
fix: snapshot deployment
1e373f2
refactor: prepare release workflow
7a560e6
fix: make branch a mandatory parameter
d8f280e
fix: path prefix for release artifacts
e830b24
fix: permissions
4399607
throwaway: disable black duck scan for testing
2f14816
fix: upload correct artifacts to release
fdab7ad
feat: create docs and release notes PRs
9f71431
Merge branch 'SAP:main' into main
Johannes-Schneider 89a1c96
feat: rollback changes on failure
1ac4603
fix: typo
56497a3
throwaway: disable unit tests for faster iterations
7b68f97
throwaway: disable codeql for faster iterations
7872bbe
fix: handling failures
18ef7b3
Merge branch 'SAP:main' into main
Johannes-Schneider a60246f
fix: root dir of cloud sdk docs
5c7d579
Merge remote-tracking branch 'origin/main'
39b3ecb
fix: javadoc replacement
cea5777
fix: javadoc replacement
96b5a19
fix: code pr creation
7ec53c5
throwaway: disable more tests in CI workflow
98cc1e1
chore: add todos
3ae6e21
Merge branch 'SAP:main' into main
Johannes-Schneider 79cd298
Added release notes automation
CharlesDuboisSAP eba050d
fix directory cloud-sdk
CharlesDuboisSAP fc69dab
Fixed branch name Release Notes
CharlesDuboisSAP 9676df5
Fixed Release Notes PR creation
CharlesDuboisSAP a0dbdad
PR name fix
CharlesDuboisSAP 37dc952
PR name fix, Code PR 1 try
CharlesDuboisSAP bbe715b
added PR_URL output
CharlesDuboisSAP ec98db1
java-release-notes2
CharlesDuboisSAP 6351aa0
cleaned up git push, renamed release notes branch, Fixed PR link, upd…
CharlesDuboisSAP 38b9fd3
Final, ready for PR
CharlesDuboisSAP b99d1fb
Merge branch 'SAP:main' into main
CharlesDuboisSAP 30cc246
Fix mixup of files
CharlesDuboisSAP 03f0938
Merge branch 'main' into 318-release
CharlesDuboisSAP 48a7fe8
Moved template to scripts directory
CharlesDuboisSAP 93b66d2
Revert fix on perform release
CharlesDuboisSAP 1e7c6d1
Merge branch 'main' into 318-release
CharlesDuboisSAP 2e515d4
Warn when minor version % 15
CharlesDuboisSAP 42fd988
Merge PR
CharlesDuboisSAP 6303e9e
Ready to test
CharlesDuboisSAP 44be1ca
Fix reset release notes
CharlesDuboisSAP 3b09317
Revert revert
CharlesDuboisSAP becfada
Merge branch 'main' into johannes-main
CharlesDuboisSAP ecbbcb5
Fix release notes template directory
CharlesDuboisSAP 2d6a793
Perform release first try, triggers by approving and merges all Appro…
CharlesDuboisSAP 6e74b66
Added Publish the Draft Release
CharlesDuboisSAP 892c525
changed branch instantiation
CharlesDuboisSAP 26a1ad1
Renamed branches
CharlesDuboisSAP 50c5b2e
Merge branch 'main' into johannes-main
CharlesDuboisSAP 7ea2aae
Merge main
CharlesDuboisSAP 3ece317
Changed git tag
CharlesDuboisSAP 0dc8fe9
Created Get PR branch names step, renamed branches
CharlesDuboisSAP 62bfd52
Changed branch var, renamed branches
CharlesDuboisSAP f662f92
Typo git tag
CharlesDuboisSAP eb44f6f
Fix download step and cleaned branch names step
CharlesDuboisSAP 1c61f79
Added TODOs, another GIT_TAG try
CharlesDuboisSAP 630af3f
Changed download to fork repo
CharlesDuboisSAP 384afa9
Release 5.3.0 (#26)
github-actions[bot] a05e544
Updated branch names for 5.2.0 release
CharlesDuboisSAP be37547
Release 5.2.0 (#27)
github-actions[bot] f20c830
Fixed release notes PR merge error
CharlesDuboisSAP 34e7b0b
Merge remote-tracking branch 'Johannes-fork/main' into johannes-main
CharlesDuboisSAP 9caf68d
Merge branch 'main' into johannes-main
CharlesDuboisSAP 1caa8f5
Revert docs branches to normal names
CharlesDuboisSAP 508ccaf
Release 5.2.0 (#28)
github-actions[bot] fbe3f28
Added GH_TOKEN to publish draft release
CharlesDuboisSAP c0e1110
Release 5.2.0 (#29)
github-actions[bot] 4784e24
Updated git tag to publish draft release
CharlesDuboisSAP 83a24b8
Updated cloud-sdk working dir in prepare release and deleted dir
CharlesDuboisSAP 1592037
Fixed cloud-sdk working dir
CharlesDuboisSAP 5bad446
Release 5.2.0 (#30)
github-actions[bot] c27aab3
Fixed Publish the Draft Release
CharlesDuboisSAP 4fc9a0a
Release 5.2.0 (#31)
github-actions[bot] c47cc6b
Do not add cloud-sdk-docs dir during reset release notes
CharlesDuboisSAP 45def33
Skip reset if no changes in release notes
CharlesDuboisSAP a8d9c0e
git rm .cloud-sdk-docs
CharlesDuboisSAP 480a887
git rm -r ./.cloud-sdk-docs
CharlesDuboisSAP 1f5c93d
git clean -d -x -f
CharlesDuboisSAP f0158a2
rm -rf .cloud-sdk-docs
CharlesDuboisSAP 2fc3ec3
Release 5.2.0 (#32)
github-actions[bot] a0070e3
Retry on Merge Release Notes PR
CharlesDuboisSAP ef0125f
Merge remote-tracking branch 'Johannes-fork/main' into johannes-main
CharlesDuboisSAP ce94fc8
Release 5.2.0 (#33)
github-actions[bot] 44f6423
refactor: resolve some todos
ba09748
Merge branch 'SAP:main' into main
Johannes-Schneider a603da7
Release 5.3.0 (#36)
github-actions[bot] b5a55c9
feat: introduce manual trigger for perform release workflow
ae829fe
Merge remote-tracking branch 'origin/main'
db5438c
fix: use correct repo
c35a0a6
Release 5.4.0 (#38)
github-actions[bot] d5c9b1b
fix: use correct docs repo
50db757
Release 5.5.0 (#39)
github-actions[bot] a1dc29b
refactor: resolve open TODOs
fb1cce3
fix: update search link in README.md
ef14c40
fix: revert unrelated changes
90aabaf
Merge branch 'SAP:main' into main
Johannes-Schneider 8dacf4f
fix: revert unrelated changes
c87e69b
fix: make sure release PRs are actually okay
7782b80
fix: code PR body
7a2a571
fix: misplaced bracket
38becb0
fix: update link to maven central in readme.md
489378b
fix: exclude perform release run
cfe6e36
Release 5.3.0 (#41)
github-actions[bot] 86350e9
Revert "Release 5.3.0"
Johannes-Schneider c07579f
Merge pull request #42 from Johannes-Schneider/revert-41-RELEASE-5.3.0
ced9c44
fix: resolve open TODOs
46bc064
refactor: release documentation
16f5928
fix: remove archetype version
08b704e
refactor: publish draft release before merging PRs
17db073
Merge remote-tracking branch 'original/main'
3cc4f98
chore: remove mentions of archetype integration test module
d8a913d
fix: remove left-over action
cfb86c6
refactor: only check whether PRs have been approved when performing t…
19e4e1f
Merge branch 'main' into main
e27d2e5
refactor: move pr check in reusable action
e135b37
throwaway: comment QA to speed up testing
912db4d
throwaway: change to forked docs repo
838fd38
feat: exclude the current workflow from the checks that need to pass
a405f93
throwaway: disable pr check for testing
6bc14bf
throwaway: disable reusable action for testing
432f48b
fix: matrix tasks
008a4cc
fix: matrix tasks
8f32e1a
fix: re-enable reusable action
b51acbf
fix: hard-code docs repo in matrix
5f66e3b
fix: hard-code docs repo in matrix
9218d73
fix: re-use action inputs
3a2a1f9
fix: default excluded workflow name
93d9b56
fix: remove additional log
b811247
chore: add debug log statement
aa2f13e
fix: workflow exclusions
448f005
fix: workflow exclusions
f2b2cf2
fix: check for failed check runs
488b763
fix: jq issue
f968654
chore: revert throwaway commits
5c1f167
fix: limit perform release runs
ede7e86
Merge branch 'main' into main
2f9ee0e
refactor: perform release is now only triggered manually
fc446db
feat: add toggle to skip PR validation and merging
36646a2
fix: slightly adjust caching pathes
d65214e
fix: do not cache the archetype catalog
7cfa6eb
fix: m2 root path
6ae759d
fix: use bot PAT token so that subsequent workflows are triggered cor…
37234ac
Merge branch 'main' into main
6a0e801
refactor: create re-usable action to deploy a snapshot
e284482
test: pass secret name instead of secret content
fecb65b
chore: upgrade github actions
897dbf9
Revert "test: pass secret name instead of secret content"
e3ae4ec
chore: add comment as to why we are not printing inputs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
name: "Await Workflow" | ||
description: "Waits until a workflow run completes." | ||
|
||
inputs: | ||
run-id: | ||
description: "The id of the workflow run to wait for." | ||
required: true | ||
poll-interval: | ||
description: "The interval (in seconds) to poll for the workflow run status." | ||
required: false | ||
default: "60" | ||
commit-status: | ||
description: "The commit status message. Leave empty to not create a commit status." | ||
required: false | ||
|
||
outputs: | ||
succeeded: | ||
description: "Whether the triggered run succeeded." | ||
value: ${{ steps.wait-for-workflow.outputs.RUN_SUCCEEDED }} | ||
conclusion: | ||
description: "The conclusion of the triggered workflow run." | ||
value: ${{ steps.wait-for-workflow.outputs.CONCLUSION }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Print Action Input | ||
run: | | ||
echo "[DEBUG] Starting 'Await Workflow' Action; inputs = ${{ toJson(inputs) }}" | ||
shell: bash | ||
|
||
- name: View Run | ||
if: ${{ inputs.commit-status != '' }} | ||
id: view-run | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
JSON=$(gh run view ${{ inputs.run-id }} --json url,headSha) | ||
echo "URL=$(echo $JSON | jq -r '.url')" >> $GITHUB_OUTPUT | ||
echo "HEAD_SHA=$(echo $JSON | jq -r '.headSha')" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Create Commit Status | ||
if: ${{ inputs.commit-status != '' }} | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
github.rest.repos.createCommitStatus({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
sha: '${{ steps.view-run.outputs.HEAD_SHA }}', | ||
state: 'pending', | ||
target_url: '${{ steps.view-run.outputs.URL }}', | ||
context: '${{ inputs.commit-status }}' | ||
}) | ||
|
||
- name: Wait for Workflow to Complete | ||
id: wait-for-workflow | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
echo "[DEBUG] Waiting for run '${{ inputs.run-id }}' to complete..." | ||
gh run watch ${{ inputs.run-id }} --interval ${{ inputs.poll-interval }} > /dev/null | ||
CONCLUSION=$(gh run view ${{ inputs.run-id }} --json conclusion | jq -r '.conclusion') | ||
|
||
echo "CONCLUSION=$CONCLUSION" >> $GITHUB_OUTPUT | ||
echo "[DEBUG] Run '${{ inputs.run-id }}' finished with conclusion '$CONCLUSION'." | ||
|
||
if [[ "$CONCLUSION" != "success" ]]; then | ||
echo "RUN_SUCCEEDED=false" >> $GITHUB_OUTPUT | ||
exit 1 | ||
fi | ||
|
||
echo "RUN_SUCCEEDED=true" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Determine Final Commit Status | ||
id: determine-final-commit-status | ||
if: ${{ always() && inputs.commit-status != '' }} | ||
newtork marked this conversation as resolved.
Show resolved
Hide resolved
|
||
run: | | ||
if [[ "${{ steps.wait-for-workflow.outputs.CONCLUSION }}" == "success" ]]; then | ||
echo "FINAL_COMMIT_STATUS=success" >> $GITHUB_OUTPUT | ||
else | ||
echo "FINAL_COMMIT_STATUS=failure" >> $GITHUB_OUTPUT | ||
fi | ||
shell: bash | ||
|
||
- name: Update Commit Status | ||
if: ${{ always() && inputs.commit-status != '' }} | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
github.rest.repos.createCommitStatus({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
sha: '${{ steps.view-run.outputs.HEAD_SHA }}', | ||
state: '${{ steps.determine-final-commit-status.outputs.FINAL_COMMIT_STATUS }}', | ||
target_url: '${{ steps.view-run.outputs.URL }}', | ||
context: '${{ inputs.commit-status }}' | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "Scan with BlackDuck" | ||
KavithaSiva marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description: "Scans the project with BlackDuck" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Print Action Start | ||
run: echo ">>>>> Starting Scan with BlackDuck Action; inputs = ${{ toJson(inputs) }}" | ||
shell: bash | ||
|
||
- name: Get Major Version | ||
id: get-major-version | ||
run: echo "MAJOR_VERSION=$(cat latest.json | jq -r .version | cut -d '.' -f 1)" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Determine Maven Excludes | ||
id: get-maven-excludes-for-blackduck | ||
run: python .pipeline/scripts/get-maven-excludes.py --filter-key excludeFromBlackDuckScan --filter-value True | ||
shell: bash | ||
newtork marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- name: BlackDuck Scan | ||
uses: SAP/project-piper-action@master | ||
Check warning on line 22 in .github/actions/scan-with-blackduck/action.yaml
|
||
newtork marked this conversation as resolved.
Show resolved
Hide resolved
|
||
with: | ||
command: detectExecuteScan | ||
flags: \ | ||
--version=$PROJECT_VERSION \ | ||
env: | ||
PIPER_token: ${{ secrets.BLACKDUCK_TOKEN }} | ||
DETECT_MAVEN_EXCLUDED_MODULES: ${{ steps.get-maven-excludes-for-blackduck.outputs.EXCLUDES }} | ||
DETECT_MAVEN_BUILD_COMMAND: -pl ${{ steps.get-maven-excludes-for-blackduck.outputs.PREFIXED_EXCLUDES }} | ||
DETECT_TIMEOUT: "7200" | ||
PROJECT_VERSION: ${{ steps.get-major-version.outputs.MAJOR_VERSION }} | ||
|
||
- name: Print Action End | ||
if: always() | ||
run: echo "<<<<< Finished Scan with BlackDuck Action" | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: "Trigger Workflow" | ||
description: "Triggers a workflow without waiting for it to complete." | ||
|
||
inputs: | ||
workflow: | ||
description: "The workflow file name" | ||
required: true | ||
workflow-ref: | ||
description: "The ref (i.e. branch name, or tag name) where the workflow is located." | ||
required: true | ||
parameters: | ||
description: "The workflow parameters" | ||
required: false | ||
commit-sha: | ||
description: "The commit SHA to trigger the workflow on" | ||
required: false | ||
default: ${{ github.sha }} | ||
|
||
outputs: | ||
run-id: | ||
description: "The id of the workflow run that was triggered." | ||
value: ${{ steps.trigger-workflow.outputs.RUN_ID }} | ||
run-url: | ||
description: "The url of the workflow run that was triggered." | ||
value: ${{ steps.trigger-workflow.outputs.RUN_URL }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Print Action Input | ||
run: | | ||
echo "[DEBUG] Starting 'Trigger Workflow' Action; inputs = ${{ toJson(inputs) }}" | ||
shell: bash | ||
|
||
- name: Trigger Workflow | ||
id: trigger-workflow | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
PREVIOUS_RUN_ID=$(gh run list --workflow=${{ inputs.workflow}} --commit=${{ inputs.commit-sha }} --json databaseId | jq -r '.[0].databaseId') | ||
echo "[DEBUG] Previous run id = '$PREVIOUS_RUN_ID'" | ||
|
||
gh workflow run "${{ inputs.workflow }}" --ref "${{ inputs.workflow-ref }}" ${{ inputs.parameters }} | ||
# allow for some initial delay as workflows take a moment to spin up | ||
sleep 20 | ||
|
||
for i in {0..6}; do | ||
LATEST_RUN_ID=$(gh run list --workflow=${{ inputs.workflow }} --commit=${{ inputs.commit-sha }} --json databaseId | jq -r '.[0].databaseId') | ||
|
||
if [[ -z "$LATEST_RUN_ID" || "$LATEST_RUN_ID" == "$PREVIOUS_RUN_ID" ]]; then | ||
echo "[DEBUG] No new run detected. Waiting for 10 seconds." | ||
sleep 10 | ||
else | ||
echo "[DEBUG] New workflow run detected: '$LATEST_RUN_ID'." | ||
|
||
RUN_URL=$(gh run view $LATEST_RUN_ID --json url | jq -r '.url') | ||
echo "[DEBUG] ${{ inputs.workflow }} run #$LATEST_RUN_ID successfully triggered: $RUN_URL" | ||
echo "[${{ inputs.workflow }} run (#$LATEST_RUN_ID)]($RUN_URL)" >> $GITHUB_STEP_SUMMARY | ||
echo "RUN_ID=$LATEST_RUN_ID" >> $GITHUB_OUTPUT | ||
echo "RUN_URL=$RUN_URL" >> $GITHUB_OUTPUT | ||
exit 0 | ||
fi | ||
done | ||
|
||
echo "[DEBUG] Unable to detect new run of workflow '${{ inputs.workflow }}'." | ||
exit 1 | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Minor/Nitpick)
Weird
echo "... $(echo ...)"
nesting, but I don't have an immediate suggestion.