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 4dcb654 commit aa6d819Copy full SHA for aa6d819
workflows/action.yml
@@ -31,7 +31,14 @@ runs:
31
32
- name: Confirm that the right workflow is active
33
shell: bash
34
- run: cmp ${GITHUB_ACTION_PATH}/../.github/workflows/main.yml .github/workflows/main.yml
+ run: |
35
+ set -euo pipefail
36
+ REF="${GITHUB_ACTION_PATH}/../.github/workflows/main.yml"
37
+ LOC=".github/workflows/main.yml"
38
+ # Ignore override inputs so they don't trigger false diffs
39
+ diff -u \
40
+ <(grep -vE '^[[:space:]]*OVERRIDE_SUBMODULE_(SHA|REF):' "$REF") \
41
+ <(grep -vE '^[[:space:]]*OVERRIDE_SUBMODULE_(SHA|REF):' "$LOC")
42
43
- name: Enforce official submodule lock
44
0 commit comments