Skip to content

Commit eac3393

Browse files
authored
Revert "Remove the checkout logic to avoid injection (#24442)" (#24452)
This reverts commit 1e239c8.
1 parent 4953fe7 commit eac3393

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr-labeled.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
pull-requests: write
1515
contents: read
1616
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
sparse-checkout: |
20+
.github
1721
- name: process label
1822
shell: pwsh
1923
run: .github/workflows/script/PrLabeled.ps1 -LabelName "${{ github.event.label.name }}" -PrUrl $env:PR

0 commit comments

Comments
 (0)