We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93afcae commit 70edecdCopy full SHA for 70edecd
.github/workflows/prevent-deletion.yaml
@@ -17,7 +17,8 @@ jobs:
17
- name: Check out
18
uses: actions/checkout@v3
19
with:
20
- fetch-depth: 0
+ ref: ${{github.event.pull_request.head.ref}}
21
+ repository: ${{github.event.pull_request.head.repo.full_name}}
22
- name: Check changes
23
run: |
24
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