mirror of
https://github.com/linuxserver/github-workflows.git
synced 2026-03-02 00:02:48 +08:00
check out PR ref in permissions check
This commit is contained in:
parent
7411392cfe
commit
f3577570f1
@ -8,7 +8,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.0
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Check Permissions
|
||||
run: |
|
||||
WRONG_PERM=$(find ./ -path "./.git" -prune -o \( -name "run" -o -name "service" -o -name "check" \) -not -perm -u=x,g=x,o=x -print)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user