Skip to content

Commit 419b8ad

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent ab57e5f commit 419b8ad

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/check-if-merged-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
jobs:
1414
check-pr:
1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
pull-requests: read
1619
outputs:
1720
is_merged_pr: ${{ steps.parse-check-pr.outputs.is_merged_pr }}
1821
pr_head_sha: ${{ steps.parse-check-pr.outputs.pr_head_sha }}

0 commit comments

Comments
 (0)