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 c64a0c7 commit 1f53a92Copy full SHA for 1f53a92
.github/workflows/check-files.yml
@@ -28,7 +28,7 @@ jobs:
28
# we require multiple approvers if any of those files change
29
# when adding any release file, it must be appended with *release
30
# we also want to check if there are changes to this file
31
- echo "FILES=$(git diff --name-only origin/main origin/${GITHUB_HEAD_REF} .github/workflows/*release.yml .github/workflows/check-files.yml .releaserc.cjs | tr '\n' ' ')" >> "$GITHUB_OUTPUT"
+ echo "FILES=$(git diff --name-only origin/${GITHUB_BASE_REF} origin/${GITHUB_HEAD_REF} .github/workflows/*release.yml .github/workflows/check-files.yml .releaserc.cjs | tr '\n' ' ')" >> "$GITHUB_OUTPUT"
32
33
- name: Check if FILES is not empty
34
id: comment
0 commit comments