Update validation.yml

This commit is contained in:
William Harrison authored and GitHub committed 2023-05-27 11:40:40 +08:00
1 parent 90e92463b3
commit 53dcdf514c
1 file changed
+1 -1
+1 -1
View File
@@ -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' \