Skip to content

Commit 70edecd

Browse files
committed
test ci
1 parent 93afcae commit 70edecd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/prevent-deletion.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
- name: Check out
1818
uses: actions/checkout@v3
1919
with:
20-
fetch-depth: 0
20+
ref: ${{github.event.pull_request.head.ref}}
21+
repository: ${{github.event.pull_request.head.repo.full_name}}
2122
- name: Check changes
2223
run: |
2324
if git diff --name-only --diff-filter 'D' '${{ github.event.pull_request.base.sha }}' '${{ github.event.pull_request.head.sha }}' | grep -E '^media/.*\.(jpg|png|jpeg|gif)$' >/tmp/changed_files; then

0 commit comments

Comments
 (0)