Skip to content

Commit 4940fa7

Browse files
authored
fix: solve SDL task warnings
1 parent a3364f6 commit 4940fa7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/release_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
security:
2424
permissions:
2525
# needed to write security info to repository
26+
id-token: write
2627
security-events: write
2728
contents: read
2829
uses: ./.github/workflows/security_checks.yml

.github/workflows/security_checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
- dev
88
- feature/*
9+
- release/*
910
workflow_call:
1011
inputs:
1112
continue-on-error:
@@ -20,6 +21,7 @@ jobs:
2021
runs-on: windows-latest
2122
permissions:
2223
# needed to write security info to repository
24+
id-token: write
2325
security-events: write
2426
contents: read
2527
steps:

.github/workflows/trigger_ado_int_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ jobs:
161161
# if status is not completed, or the result is one of failed, canceled; then fail the job
162162
if [[ "$status" != "completed" || "$result" =~ (failed|canceled) ]]; then
163163
echo "::error::Pipeline did not complete successfully"
164-
echo "# ${PIPELINE:-$DEFAULT_TITLE} Failed " >> $GITHUB_STEP_SUMMARY
164+
echo "# [FAILED] ${PIPELINE:-$DEFAULT_TITLE} Failed [FAILED]" >> $GITHUB_STEP_SUMMARY
165165
echo "The pipeline did not complete successfully. Please check the logs [here](${PORTAL_URL})" >> $GITHUB_STEP_SUMMARY
166166
exit 1
167167
fi
168168
169-
echo "# ${PIPELINE:-$DEFAULT_TITLE} Completed " >> $GITHUB_STEP_SUMMARY
169+
echo "# [SUCCESS] ${PIPELINE:-$DEFAULT_TITLE} Completed [SUCCESS]" >> $GITHUB_STEP_SUMMARY
170170
echo "The pipeline completed successfully. You can check the logs [here](${PORTAL_URL})" >> $GITHUB_STEP_SUMMARY
171171
CancelPipeline:
172172
runs-on: ubuntu-latest
@@ -191,5 +191,5 @@ jobs:
191191
-H "Content-Type: application/json" \
192192
-d '{"status": "cancelling"}' \
193193
"${RUN_URL}?api-version=7.2-preview.7"
194-
echo "# ${PIPELINE:-$DEFAULT_TITLE} Cancelled " >> $GITHUB_STEP_SUMMARY
194+
echo "# [CANCELLED] ${PIPELINE:-$DEFAULT_TITLE} Cancelled [CANCELLED]" >> $GITHUB_STEP_SUMMARY
195195
echo "The pipeline was cancelled. You can check the logs [here](${PORTAL_URL})" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)