Skip to content

Commit cc713c0

Browse files
jimisolaJimisola Laursengithub-advanced-security[bot]
authored
ci: SHA-pin GitHub Actions for supply-chain security (#146)
* build: SHA-pin GitHub Actions for supply-chain security Pin external action references to exact commit SHAs instead of branch or major-version tags to prevent supply-chain attacks. Signed-off-by: jimisola <jimisola@jimisola.com> * ci: potential fix for code scanning alert no. 10: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> --------- Signed-off-by: jimisola <jimisola@jimisola.com> Signed-off-by: Jimisola Laursen <jimisola@jimisola.com> Co-authored-by: Jimisola Laursen <jimisola.laursen@resurs.se> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent dd4a737 commit cc713c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/check-semantic-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request_target:
66
types: [opened, edited, synchronize, reopened]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
check:
10-
uses: reqstool/.github/.github/workflows/check-semantic-pr.yml@main
13+
uses: reqstool/.github/.github/workflows/check-semantic-pr.yml@33502e31f66fb7e982f48f50e3c6c29b0410a017 # main 2026-03-07

0 commit comments

Comments
 (0)