diff --git a/.github/actions/JamesIves-github-pages-deploy-action b/.github/actions/JamesIves-github-pages-deploy-action new file mode 160000 index 00000000000..4bcd9069769 --- /dev/null +++ b/.github/actions/JamesIves-github-pages-deploy-action @@ -0,0 +1 @@ +Subproject commit 4bcd90697694c026f5bf40ee1e4ceed5b5c9fcf6 diff --git a/.github/actions/pre-commmit-action b/.github/actions/pre-commmit-action new file mode 160000 index 00000000000..0764670bf37 --- /dev/null +++ b/.github/actions/pre-commmit-action @@ -0,0 +1 @@ +Subproject commit 0764670bf370aab253130d534e1eda7ff497dc60 diff --git a/.gitmodules b/.gitmodules index 6001a4e290a..0a19fc99be5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -18,3 +18,10 @@ [submodule "landing-pages/site/themes/docsy"] path = landing-pages/site/themes/docsy url = https://github.com/google/docsy.git + +[submodule ".github/actions/pre-commmit-action"] + path = .github/actions/pre-commmit-action + url = git@github.com:pre-commit/action.git +[submodule ".github/actions/JamesIves-github-pages-deploy-action"] + path = .github/actions/JamesIves-github-pages-deploy-action + url = git@github.com:JamesIves/github-pages-deploy-action.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2dd9a8f2671..3803d0d3032 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,6 +30,7 @@ repos: rev: v1.1.7 hooks: - id: forbid-tabs + exclude: ^\.gitmodules$ - id: insert-license name: Add licence for all other files args: