Skip to content

Commit

Permalink
Use git submodules for (securely) using third party Github Actions (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored Jan 11, 2021
1 parent a9c9aa9 commit 8003030
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/JamesIves-github-pages-deploy-action
1 change: 1 addition & 0 deletions .github/actions/pre-commmit-action
Submodule pre-commmit-action added at 076467
7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [email protected]:pre-commit/action.git
[submodule ".github/actions/JamesIves-github-pages-deploy-action"]
path = .github/actions/JamesIves-github-pages-deploy-action
url = [email protected]:JamesIves/github-pages-deploy-action.git
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8003030

Please sign in to comment.