Skip to content

Commit c6eb5b1

Browse files
authored
[Infrastructure] Update checkout configuration (#16892)
1 parent 5333c63 commit c6eb5b1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/mega-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
fetch-depth: 0
3333
# So we can use secrets.ALIBUILD_GITHUB_TOKEN to push later.
3434
persist-credentials: false
35+
allow-unsafe-pr-checkout: true # needed for pull_request_target
3536

3637
# MegaLinter
3738
- name: MegaLinter

.github/workflows/o2-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
with:
3535
ref: ${{ env.BRANCH_HEAD }}
3636
fetch-depth: 0 # needed to get the full history
37+
allow-unsafe-pr-checkout: true # needed for pull_request_target
3738
- name: Run tests
3839
id: linter
3940
run: |

0 commit comments

Comments
 (0)