mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-16 10:15:15 +00:00
Update validation.yml
This commit is contained in:
1 parent
90e92463b3
commit
53dcdf514c
1 file changed
+1
-1
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Find Files
|
||||
id: find_files
|
||||
run: |
|
||||
if [[ ${{ github.event_name }} == 'pull_request' ]]; then
|
||||
if [[ "${{ github.event_name }}" == 'pull_request' ]]; then
|
||||
files=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files?per_page=100" \
|
||||
| jq -r '.[] | select(.status == "added" or .status == "modified") | .filename' \
|
||||
|
||||
Reference in new issue
Block a user