Skip to content

Commit 8885103

Browse files
committed
skip self check
1 parent f9a5836 commit 8885103

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

workflows/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ runs:
3838
run: |
3939
set -euo pipefail
4040
41+
# Skip enforcement when running inside the source repository itself.
42+
if [[ "${GITHUB_REPOSITORY:-}" == "SMPTE/html-pub" ]]; then
43+
echo "Submodule enforcement skipped in source repo (${GITHUB_REPOSITORY})."
44+
exit 0
45+
fi
46+
4147
if [[ -z "${SUB_PATH:-}" ]]; then
4248
echo "ERROR: SUB_PATH is empty"; exit 1
4349
fi

0 commit comments

Comments
 (0)