We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e195a1 commit c64a0c7Copy full SHA for c64a0c7
1 file changed
.github/workflows/smithy-diff.yml
@@ -22,10 +22,11 @@ jobs:
22
shell: bash
23
env:
24
GITHUB_HEAD: ${{github.event.pull_request.head.ref}}
25
+ GITHUB_BASE: ${{github.event.pull_request.base.ref}}
26
run:
27
# Checks to see if any of the smithy Models are being updated.
28
# Doing this check allows us to catch things like, missing @javadoc trait documentation or bug in smithy dafny that has not be resolved.
- echo "FILES=$(git diff --name-only origin/main origin/${GITHUB_HEAD} | grep '\.smithy$' | tr '\n' ' ')" >> "$GITHUB_OUTPUT"
29
+ echo "FILES=$(git diff --name-only origin/${GITHUB_BASE} origin/${GITHUB_HEAD} | grep '\.smithy$' | tr '\n' ' ')" >> "$GITHUB_OUTPUT"
30
31
- name: Check if FILES is not empty
32
id: comment
0 commit comments