Skip to content

Commit bc9ec68

Browse files
authored
Add allow-unsafe-pr-checkout option to workflow
1 parent 943dc30 commit bc9ec68

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/entropy-beauty-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
with:
1717
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}
1818
fetch-depth: ${{ github.event_name == 'pull_request_target' && 1 || 2 }}
19+
allow-unsafe-pr-checkout: ${{ github.event_name == 'pull_request_target' }}
1920

2021
- name: Fetch PR base commit (needed for accurate diff)
2122
if: github.event_name == 'pull_request_target'
@@ -147,4 +148,4 @@ jobs:
147148
labels: ['entropy', 'security', 'review-needed']
148149
});
149150
150-
console.log("⚠️ Created issue because entropy was outside mid-4 range");
151+
console.log("⚠️ Created issue because entropy was outside mid-4 range");

0 commit comments

Comments
 (0)