You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/12/28 12:09:15 UTC

[airflow-pre-commit-action] tag v2.0.0 created (now 0764670)

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

kamilbregula pushed a change to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git.


      at 0764670  (commit)
This tag includes the following new commits:

     new 043c690  Deployed to github pages
     new aec80bb  Deployed to github pages
     new f683469  Deployed to github pages
     new 9e7a37e  Deployed to github pages
     new 9f8bc29  Deployed to github pages
     new 4fbc373  Deployed to github pages
     new 7e84523  Deployed to github pages
     new 658444d  Deployed to github pages
     new b0874df  Deployed to github pages
     new 78b0940  Deployed to github pages
     new 0c6039f  Deployed to github pages
     new 9bd158a  Deployed to github pages
     new 9ad1213  Deployed to github pages
     new fcd017a  Deployed to github pages
     new 3eec9f7  Deployed to github pages
     new 62c71d5  Deployed to github pages
     new 0e8fba5  Deployed to github pages
     new ac9305c  Deployed to github pages
     new 96e0777  Deployed to github pages
     new 0764670  Deployed to github pages

The 20 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[airflow-pre-commit-action] 18/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit ac9305cec3fc5e62ad23c544db27c017276acc9d
Author: Github Actions <us...@example.com>
AuthorDate: Sat Jun 13 19:49:45 2020 +0000

    Deployed to github pages
---
 README.md     | 6 ------
 dist/index.js | 4 ++--
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 7adec68..57be008 100644
--- a/README.md
+++ b/README.md
@@ -24,12 +24,6 @@ jobs:
     steps:
     - uses: actions/checkout@v1
     - uses: actions/setup-python@v1
-    - name: set PY
-      run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
-    - uses: actions/cache@v1
-      with:
-        path: ~/.cache/pre-commit
-        key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
     - uses: pre-commit/action@v1.1.1
 ```
 
diff --git a/dist/index.js b/dist/index.js
index c7bee34..c3a8905 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,4 +1,4 @@
-!function(e){var t={};function r(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
+!function(e){var t={};function r(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
 /*!
  * isobject <https://github.com/jonschlinkert/isobject>
  *
@@ -11,4 +11,4 @@
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-function n(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t}function i(e){var t,r;return!1!==n(e)&&("function"==typeof(t=e.constructor)&&(!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function a(e,t,r){if("string"==typeof t){let[e,o]=t.split(" ");r=Object.assign(o?{method:e,url:o}:{url:e},r)}else r=Object.assign({},t);var o;r.headers=(o=r.headers)?Object.keys(o).reduce((e,t)=>(e[t.toLowerC [...]
\ No newline at end of file
+function n(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t}function i(e){var t,r;return!1!==n(e)&&("function"==typeof(t=e.constructor)&&(!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function a(e,t,r){if("string"==typeof t){let[e,o]=t.split(" ");r=Object.assign(o?{method:e,url:o}:{url:e},r)}else r=Object.assign({},t);var o;r.headers=(o=r.headers)?Object.keys(o).reduce((e,t)=>(e[t.toLowerC [...]
\ No newline at end of file


[airflow-pre-commit-action] 02/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit aec80bb8b100c3dadc61b5899a8f20048e24d37e
Author: Github Actions <us...@example.com>
AuthorDate: Wed Nov 27 22:42:10 2019 +0000

    Deployed to github pages
---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index c080e77..4190993 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,8 @@ To use this action, make a file `.github/workflows/pre-commit.yml`.  Here's a
 template to get started:
 
 ```yaml
+name: pre-commit
+
 on:
   pull_request:
   push:


[airflow-pre-commit-action] 10/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 78b094032d26ac1425b5455a5dc823932882472e
Author: Github Actions <us...@example.com>
AuthorDate: Tue May 12 14:51:35 2020 +0000

    Deployed to github pages
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index ea555e6..92bbe9b 100644
--- a/README.md
+++ b/README.md
@@ -22,8 +22,8 @@ jobs:
   pre-commit:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2
-    - uses: actions/setup-python@v2
+    - uses: actions/checkout@v1
+    - uses: actions/setup-python@v1
     - name: set PY
       run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
     - uses: actions/cache@v1


[airflow-pre-commit-action] 03/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit f6834696b912139aa50a1ce8c7525423f9152d66
Author: Github Actions <us...@example.com>
AuthorDate: Mon Dec 9 22:30:39 2019 +0000

    Deployed to github pages
---
 dist/index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index 2797265..55843fa 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,4 +1,4 @@
-!function(e){var r={};function t(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=r,t.d=function(e,r,i){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typ [...]
+!function(e){var r={};function t(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=r,t.d=function(e,r,i){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typ [...]
 /*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
@@ -12,4 +12,4 @@ function i(e){return!0==(null!=(r=e)&&"object"==typeof r&&!1===Array.isArray(r))
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-var r}function n(e){var r,t;return!1!==i(e)&&("function"==typeof(r=e.constructor)&&(!1!==i(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}t.r(r),t.d(r,"default",(function(){return n}))},function(e,r){e.exports=require("https")},function(e,r,t){const i=t(23),n=t(25),o=t(27),s=["run","--all-files","--show-diff-on-failure","--color=always"];(async function(){await i.group("install pre-commit",async()=>{await n.exec("pip",["install","pre-commit"]),await n.exec("pip",["freeze","--lo [...]
\ No newline at end of file
+var r}function n(e){var r,t;return!1!==i(e)&&("function"==typeof(r=e.constructor)&&(!1!==i(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}t.r(r),t.d(r,"default",(function(){return n}))},function(e,r){e.exports=require("https")},function(e,r,t){const i=t(26),n=t(28),o=t(31),s=["run","--all-files","--show-diff-on-failure","--color=always"];(async function(){await i.group("install pre-commit",async()=>{await n.exec("pip",["install","pre-commit"]),await n.exec("pip",["freeze","--lo [...]
\ No newline at end of file


[airflow-pre-commit-action] 08/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 658444db81fa66b70a016469213586f2aed6e8b7
Author: Github Actions <us...@example.com>
AuthorDate: Tue May 5 19:39:35 2020 +0000

    Deployed to github pages
---
 dist/index.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index 9041d60..71961be 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,15 +1,15 @@
-!function(e){var r={};function t(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=r,t.d=function(e,r,i){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typ [...]
+!function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
 /*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-function i(e){return!0==(null!=(r=e)&&"object"==typeof r&&!1===Array.isArray(r))&&"[object Object]"===Object.prototype.toString.call(e);
+function i(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);
 /*!
  * isobject <https://github.com/jonschlinkert/isobject>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-var r}function n(e){var r,t;return!1!==i(e)&&("function"==typeof(r=e.constructor)&&(!1!==i(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}t.r(r),t.d(r,"default",(function(){return n}))},function(e,r){e.exports=require("https")},function(e,r,t){const i=t(26),n=t(28),o=t(31),s=["run","--all-files","--show-diff-on-failure","--color=always"];(async function(){await i.group("install pre-commit",async()=>{await n.exec("pip",["install","pre-commit"]),await n.exec("pip",["freeze","--lo [...]
\ No newline at end of file
+var t}function n(e){var t,r;return!1!==i(e)&&("function"==typeof(t=e.constructor)&&(!1!==i(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function s(e,t,r){if("string"==typeof t){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else r=Object.assign({},t);var i;r.headers=(i=r.headers)?Object.keys(i).reduce((e,t)=>(e[t.toLowerCase()]=i[t],e),{}):{};const s=function e(t,r){const i=Object.assign({},t);return Object.keys(r).forEach(s=>{n(r[s])?s in t?i[s]=e(t[s],r [...]
\ No newline at end of file


[airflow-pre-commit-action] 09/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit b0874dfc439450b1206a48daa3b9d1df06cc44f8
Author: Github Actions <us...@example.com>
AuthorDate: Fri May 8 00:16:47 2020 +0000

    Deployed to github pages
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 92bbe9b..ea555e6 100644
--- a/README.md
+++ b/README.md
@@ -22,8 +22,8 @@ jobs:
   pre-commit:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v1
-    - uses: actions/setup-python@v1
+    - uses: actions/checkout@v2
+    - uses: actions/setup-python@v2
     - name: set PY
       run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
     - uses: actions/cache@v1


[airflow-pre-commit-action] 01/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 043c690cdeda96dfe382b617e372e08a18de5e42
Author: Github Actions <us...@example.com>
AuthorDate: Mon Nov 25 03:28:57 2019 +0000

    Deployed to github pages
---
 README.md     | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 action.yml    |  9 +++++++++
 dist/index.js | 15 ++++++++++++++
 3 files changed, 87 insertions(+)

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c080e77
--- /dev/null
+++ b/README.md
@@ -0,0 +1,63 @@
+[![Build Status](https://github.com/pre-commit/action/workflows/deploy/badge.svg)](https://github.com/pre-commit/action/actions)
+
+pre-commit/action
+=================
+
+a GitHub action to run [pre-commit](https://pre-commit.com)
+
+### using this action
+
+To use this action, make a file `.github/workflows/pre-commit.yml`.  Here's a
+template to get started:
+
+```yaml
+on:
+  pull_request:
+  push:
+    branches: [master]
+
+jobs:
+  pre-commit:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+    - uses: actions/setup-python@v1
+    - name: set PY
+      run: echo "::set-env name=PY::$(python --version --version | sha256sum | cut -d' ' -f1)"
+    - uses: actions/cache@v1
+      with:
+        path: ~/.cache/pre-commit
+        key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
+    - uses: pre-commit/action@v1.0.0
+```
+
+This does a few things:
+
+- clones the code
+- installs python
+- sets up the `pre-commit` cache
+
+Hopefully in the future when `actions` matures the yaml can be simplified.
+
+### using this action in private repositories
+
+this action also provides an additional behaviour when used in private
+repositories.  when configured with a github token, the action will push back
+fixes to the pull request branch.
+
+here's an example configuration for that (use the template above except for the
+`pre-commit` action):
+
+```yaml
+    - uses: pre-commit/action@v1.0.0
+      with:
+        token: ${{ secrets.GITHUB_TOKEN }}
+```
+
+note that `secrets.GITHUB_TOKEN` is automatically provisioned and will not
+require any special configuration.
+
+while you could _technically_ configure this for a public repository (using a
+personal access token), I can't think of a way to do this safely without
+exposing a privileged token to pull requests -- if you have any ideas, please
+leave an issue!
diff --git a/action.yml b/action.yml
new file mode 100644
index 0000000..941ec1d
--- /dev/null
+++ b/action.yml
@@ -0,0 +1,9 @@
+name: pre-commit
+description: run pre-commit and optionally commit back to the pull request
+inputs:
+  token:
+    description: github token to clone / push with
+    required: false
+runs:
+  using: 'node12'
+  main: 'dist/index.js'
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..2797265
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,15 @@
+!function(e){var r={};function t(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=r,t.d=function(e,r,i){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typ [...]
+/*!
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+function i(e){return!0==(null!=(r=e)&&"object"==typeof r&&!1===Array.isArray(r))&&"[object Object]"===Object.prototype.toString.call(e);
+/*!
+ * isobject <https://github.com/jonschlinkert/isobject>
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+var r}function n(e){var r,t;return!1!==i(e)&&("function"==typeof(r=e.constructor)&&(!1!==i(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}t.r(r),t.d(r,"default",(function(){return n}))},function(e,r){e.exports=require("https")},function(e,r,t){const i=t(23),n=t(25),o=t(27),s=["run","--all-files","--show-diff-on-failure","--color=always"];(async function(){await i.group("install pre-commit",async()=>{await n.exec("pip",["install","pre-commit"]),await n.exec("pip",["freeze","--lo [...]
\ No newline at end of file


[airflow-pre-commit-action] 06/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 4fbc373a4d3a4958414eb4815e3c5c3da4af182e
Author: Github Actions <us...@example.com>
AuthorDate: Fri Mar 6 21:24:33 2020 +0000

    Deployed to github pages
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 875b31c..990c3f1 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ jobs:
     - uses: actions/checkout@v1
     - uses: actions/setup-python@v1
     - name: set PY
-      run: echo "::set-env name=PY::$(python --version --version | sha256sum | cut -d' ' -f1)"
+      run: echo "::set-env name=PY::$((python --version --version && which python) | sha256sum | cut -d' ' -f1)"
     - uses: actions/cache@v1
       with:
         path: ~/.cache/pre-commit


[airflow-pre-commit-action] 17/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 0e8fba5d1e9d8c2ebf73076423cb5aedf606e358
Author: Github Actions <us...@example.com>
AuthorDate: Wed Jun 10 21:05:40 2020 +0000

    Deployed to github pages
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 6242599..7adec68 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ jobs:
       with:
         path: ~/.cache/pre-commit
         key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
-    - uses: pre-commit/action@v1.1.0
+    - uses: pre-commit/action@v1.1.1
 ```
 
 This does a few things:
@@ -65,7 +65,7 @@ here's an example configuration for that (use the template above except for the
 `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.1.0
+    - uses: pre-commit/action@v1.1.1
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
 ```


[airflow-pre-commit-action] 11/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 0c6039fa09bf2036a38c9f780bb2750c1f0f053e
Author: Github Actions <us...@example.com>
AuthorDate: Fri May 15 15:17:20 2020 +0000

    Deployed to github pages
---
 README.md     | 14 ++++++++++++++
 action.yml    |  4 ++++
 dist/index.js |  4 ++--
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 92bbe9b..27bb546 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,20 @@ This does a few things:
 
 Hopefully in the future when `actions` matures the yaml can be simplified.
 
+### using this action with custom invocations
+
+By default, this action runs all the hooks against all the files.  `extra_args`
+lets users specify a single hook id and/or options to pass to `pre-commit run`.
+
+Here's a sample step configuration that only runs the `flake8` hook against all
+the files (use the template above except for the `pre-commit` action):
+
+```yaml
+    - uses: pre-commit/action@v1.0.1
+      with:
+        extra_args: flake8 --all-files
+```
+
 ### using this action in private repositories
 
 this action also provides an additional behaviour when used in private
diff --git a/action.yml b/action.yml
index 941ec1d..9906815 100644
--- a/action.yml
+++ b/action.yml
@@ -1,6 +1,10 @@
 name: pre-commit
 description: run pre-commit and optionally commit back to the pull request
 inputs:
+  extra_args:
+    description: options to pass to pre-commit run
+    required: false
+    default: '--all-files'
   token:
     description: github token to clone / push with
     required: false
diff --git a/dist/index.js b/dist/index.js
index 71961be..b185e90 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,4 +1,4 @@
-!function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
+!function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
 /*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
@@ -12,4 +12,4 @@ function i(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-var t}function n(e){var t,r;return!1!==i(e)&&("function"==typeof(t=e.constructor)&&(!1!==i(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function s(e,t,r){if("string"==typeof t){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else r=Object.assign({},t);var i;r.headers=(i=r.headers)?Object.keys(i).reduce((e,t)=>(e[t.toLowerCase()]=i[t],e),{}):{};const s=function e(t,r){const i=Object.assign({},t);return Object.keys(r).forEach(s=>{n(r[s])?s in t?i[s]=e(t[s],r [...]
\ No newline at end of file
+var t}function n(e){var t,r;return!1!==i(e)&&("function"==typeof(t=e.constructor)&&(!1!==i(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function s(e,t,r){if("string"==typeof t){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else r=Object.assign({},t);var i;r.headers=(i=r.headers)?Object.keys(i).reduce((e,t)=>(e[t.toLowerCase()]=i[t],e),{}):{};const s=function e(t,r){const i=Object.assign({},t);return Object.keys(r).forEach(s=>{n(r[s])?s in t?i[s]=e(t[s],r [...]
\ No newline at end of file


[airflow-pre-commit-action] 05/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 9f8bc293c9a31574fb074c7f2a72a86e6bb40ddc
Author: Github Actions <us...@example.com>
AuthorDate: Fri Jan 10 15:09:46 2020 +0000

    Deployed to github pages
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4190993..875b31c 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ jobs:
       with:
         path: ~/.cache/pre-commit
         key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
-    - uses: pre-commit/action@v1.0.0
+    - uses: pre-commit/action@v1.0.1
 ```
 
 This does a few things:
@@ -51,7 +51,7 @@ here's an example configuration for that (use the template above except for the
 `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.0.0
+    - uses: pre-commit/action@v1.0.1
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
 ```


[airflow-pre-commit-action] 19/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 96e0777fb9104411064c61414e39da02f429551a
Author: Github Actions <us...@example.com>
AuthorDate: Sat Jun 13 19:59:15 2020 +0000

    Deployed to github pages
---
 dist/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/index.js b/dist/index.js
index c3a8905..e5020a1 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,4 +1,4 @@
-!function(e){var t={};function r(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
+!function(e){var t={};function r(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
 /*!
  * isobject <https://github.com/jonschlinkert/isobject>
  *


[airflow-pre-commit-action] 07/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 7e84523f8a23615d45e213eb93a8f90e27fc30ca
Author: Github Actions <us...@example.com>
AuthorDate: Mon Mar 9 14:22:02 2020 +0000

    Deployed to github pages
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 990c3f1..92bbe9b 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ jobs:
     - uses: actions/checkout@v1
     - uses: actions/setup-python@v1
     - name: set PY
-      run: echo "::set-env name=PY::$((python --version --version && which python) | sha256sum | cut -d' ' -f1)"
+      run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
     - uses: actions/cache@v1
       with:
         path: ~/.cache/pre-commit


[airflow-pre-commit-action] 13/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 9ad121322992a920b5976112443eaa3ad26d0e81
Author: Github Actions <us...@example.com>
AuthorDate: Sat May 23 01:30:24 2020 +0000

    Deployed to github pages
---
 LICENSE | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..5a4128d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2019 Anthony Sottile
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.


[airflow-pre-commit-action] 15/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 3eec9f7071d0410b4c8cd3ff9ee5a388bd7f9cd9
Author: Github Actions <us...@example.com>
AuthorDate: Wed Jun 10 20:44:29 2020 +0000

    Deployed to github pages
---
 dist/index.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index 030c555..c7bee34 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,15 +1,14 @@
-!function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
+!function(e){var t={};function r(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typ [...]
 /*!
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
+ * isobject <https://github.com/jonschlinkert/isobject>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-function i(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);
 /*!
- * isobject <https://github.com/jonschlinkert/isobject>
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-var t}function n(e){var t,r;return!1!==i(e)&&("function"==typeof(t=e.constructor)&&(!1!==i(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function s(e,t,r){if("string"==typeof t){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else r=Object.assign({},t);var i;r.headers=(i=r.headers)?Object.keys(i).reduce((e,t)=>(e[t.toLowerCase()]=i[t],e),{}):{};const s=function e(t,r){const i=Object.assign({},t);return Object.keys(r).forEach(s=>{n(r[s])?s in t?i[s]=e(t[s],r [...]
\ No newline at end of file
+function n(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t}function i(e){var t,r;return!1!==n(e)&&("function"==typeof(t=e.constructor)&&(!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function a(e,t,r){if("string"==typeof t){let[e,o]=t.split(" ");r=Object.assign(o?{method:e,url:o}:{url:e},r)}else r=Object.assign({},t);var o;r.headers=(o=r.headers)?Object.keys(o).reduce((e,t)=>(e[t.toLowerC [...]
\ No newline at end of file


[airflow-pre-commit-action] 14/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit fcd017a6bbe4645e14f4df47c4b94b2231531a27
Author: Github Actions <us...@example.com>
AuthorDate: Wed Jun 10 20:33:57 2020 +0000

    Deployed to github pages
---
 dist/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/index.js b/dist/index.js
index b185e90..030c555 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -12,4 +12,4 @@ function i(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-var t}function n(e){var t,r;return!1!==i(e)&&("function"==typeof(t=e.constructor)&&(!1!==i(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function s(e,t,r){if("string"==typeof t){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else r=Object.assign({},t);var i;r.headers=(i=r.headers)?Object.keys(i).reduce((e,t)=>(e[t.toLowerCase()]=i[t],e),{}):{};const s=function e(t,r){const i=Object.assign({},t);return Object.keys(r).forEach(s=>{n(r[s])?s in t?i[s]=e(t[s],r [...]
\ No newline at end of file
+var t}function n(e){var t,r;return!1!==i(e)&&("function"==typeof(t=e.constructor)&&(!1!==i(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}function s(e,t,r){if("string"==typeof t){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else r=Object.assign({},t);var i;r.headers=(i=r.headers)?Object.keys(i).reduce((e,t)=>(e[t.toLowerCase()]=i[t],e),{}):{};const s=function e(t,r){const i=Object.assign({},t);return Object.keys(r).forEach(s=>{n(r[s])?s in t?i[s]=e(t[s],r [...]
\ No newline at end of file


[airflow-pre-commit-action] 12/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 9bd158a6bde10490bb3bec5a1c00cb8a6e5257e2
Author: Github Actions <us...@example.com>
AuthorDate: Fri May 15 15:20:55 2020 +0000

    Deployed to github pages
---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 27bb546..074d064 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ jobs:
       with:
         path: ~/.cache/pre-commit
         key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
-    - uses: pre-commit/action@v1.0.1
+    - uses: pre-commit/action@v1.1.0
 ```
 
 This does a few things:
@@ -50,7 +50,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
 the files (use the template above except for the `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.0.1
+    - uses: pre-commit/action@v1.1.0
       with:
         extra_args: flake8 --all-files
 ```
@@ -65,7 +65,7 @@ here's an example configuration for that (use the template above except for the
 `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.0.1
+    - uses: pre-commit/action@v1.1.0
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
 ```


[airflow-pre-commit-action] 16/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 62c71d57c226d9d5508f7652900eeb3fc2e308a8
Author: Github Actions <us...@example.com>
AuthorDate: Wed Jun 10 21:04:28 2020 +0000

    Deployed to github pages
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 074d064..6242599 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
 the files (use the template above except for the `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.1.0
+    - uses: pre-commit/action@v1.1.1
       with:
         extra_args: flake8 --all-files
 ```


[airflow-pre-commit-action] 04/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 9e7a37e7cb48990ef82a6fd8cef13e86bdfc2497
Author: Github Actions <us...@example.com>
AuthorDate: Thu Jan 9 23:20:17 2020 +0000

    Deployed to github pages
---
 dist/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/index.js b/dist/index.js
index 55843fa..9041d60 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -12,4 +12,4 @@ function i(e){return!0==(null!=(r=e)&&"object"==typeof r&&!1===Array.isArray(r))
  * Copyright (c) 2014-2017, Jon Schlinkert.
  * Released under the MIT License.
  */
-var r}function n(e){var r,t;return!1!==i(e)&&("function"==typeof(r=e.constructor)&&(!1!==i(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}t.r(r),t.d(r,"default",(function(){return n}))},function(e,r){e.exports=require("https")},function(e,r,t){const i=t(26),n=t(28),o=t(31),s=["run","--all-files","--show-diff-on-failure","--color=always"];(async function(){await i.group("install pre-commit",async()=>{await n.exec("pip",["install","pre-commit"]),await n.exec("pip",["freeze","--lo [...]
\ No newline at end of file
+var r}function n(e){var r,t;return!1!==i(e)&&("function"==typeof(r=e.constructor)&&(!1!==i(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}t.r(r),t.d(r,"default",(function(){return n}))},function(e,r){e.exports=require("https")},function(e,r,t){const i=t(26),n=t(28),o=t(31),s=["run","--all-files","--show-diff-on-failure","--color=always"];(async function(){await i.group("install pre-commit",async()=>{await n.exec("pip",["install","pre-commit"]),await n.exec("pip",["freeze","--lo [...]
\ No newline at end of file


[airflow-pre-commit-action] 20/20: Deployed to github pages

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 0764670bf370aab253130d534e1eda7ff497dc60
Author: Github Actions <us...@example.com>
AuthorDate: Sat Jun 13 20:06:21 2020 +0000

    Deployed to github pages
---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 57be008..8311167 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ jobs:
     steps:
     - uses: actions/checkout@v1
     - uses: actions/setup-python@v1
-    - uses: pre-commit/action@v1.1.1
+    - uses: pre-commit/action@v2.0.0
 ```
 
 This does a few things:
@@ -44,7 +44,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
 the files (use the template above except for the `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.1.1
+    - uses: pre-commit/action@v2.0.0
       with:
         extra_args: flake8 --all-files
 ```
@@ -59,7 +59,7 @@ here's an example configuration for that (use the template above except for the
 `pre-commit` action):
 
 ```yaml
-    - uses: pre-commit/action@v1.1.1
+    - uses: pre-commit/action@v2.0.0
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
 ```