This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 8003030  Use git submodules for (securely) using third party Github 
Actions (#372)
8003030 is described below

commit 8003030b0917718b5955b29e047b61c5dd460507
Author: Kamil BreguĊ‚a <[email protected]>
AuthorDate: Mon Jan 11 23:59:46 2021 +0100

    Use git submodules for (securely) using third party Github Actions (#372)
---
 .github/actions/JamesIves-github-pages-deploy-action | 1 +
 .github/actions/pre-commmit-action                   | 1 +
 .gitmodules                                          | 7 +++++++
 .pre-commit-config.yaml                              | 1 +
 4 files changed, 10 insertions(+)

diff --git a/.github/actions/JamesIves-github-pages-deploy-action 
b/.github/actions/JamesIves-github-pages-deploy-action
new file mode 160000
index 0000000..4bcd906
--- /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 0000000..0764670
--- /dev/null
+++ b/.github/actions/pre-commmit-action
@@ -0,0 +1 @@
+Subproject commit 0764670bf370aab253130d534e1eda7ff497dc60
diff --git a/.gitmodules b/.gitmodules
index 6001a4e..0a19fc9 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 = [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
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2dd9a8f..3803d0d 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:

Reply via email to