Commit Graph

198 Commits

Author SHA1 Message Date
Anthony Sottile 20242c7698 Merge pull request #46 from pre-commit/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-12 10:19:24 -07:00
dependabot[bot] c1c73eab5d Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 11:09:52 +00:00
Anthony Sottile ef992f5a23 Merge pull request #43 from Julian/patch-1
Update README example to use latest actions/setup-python and actions/checkout versions
2020-08-26 16:14:37 -07:00
Julian Berman b305c68aec Same for actions/checkout. 2020-08-26 19:04:09 -04:00
Julian Berman 4d6e6a8f8d Update README to use latest setup-python version 2020-08-26 19:02:48 -04:00
Anthony Sottile 2ac07a01eb Merge pull request #40 from pre-commit/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-07-31 22:33:11 -07:00
dependabot[bot] 93420c9e5d Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 05:31:15 +00:00
Anthony Sottile b9651b1a18 Merge pull request #38 from evanstoddard23/patch-1
update docs to use latest checkout action
2020-07-08 14:31:03 -07:00
Evan Stoddard 289a367e33 update docs to use latest checkout action
I can only get this to work when setting `fetch-depth: 0`. Otherwise, I see this error

```
push fixes
  /usr/bin/git config user.name pre-commit
  /usr/bin/git config user.email pre-commit@example.com
  /usr/bin/git checkout HEAD -b pre-commit-gha
  M	README.md
  Switched to a new branch 'pre-commit-gha'
  /usr/bin/git commit -am pre-commit fixes
  [pre-commit-gha 800dbc6] pre-commit fixes
   1 file changed, 1 insertion(+), 1 deletion(-)
  /usr/bin/git remote set-url origin ***github.com/***.git
  /usr/bin/git push origin HEAD
  To https://github.com/***.git
   ! [rejected]        HEAD -> pre-commit-gha (fetch first)
  error: failed to push some refs to 'https://github.com/***.git'
  hint: Updates were rejected because the remote contains work that you do
  hint: not have locally. This is usually caused by another repository pushing
  hint: to the same ref. You may want to first integrate the remote changes
  hint: (e.g., 'git pull ...') before pushing again.
```
2020-07-08 14:23:52 -07:00
Anthony Sottile 56c4e645ab The cache code is now all in the action 2020-06-18 12:54:29 -07:00
Anthony Sottile 11c9daf372 v2.0.0 2020-06-13 13:05:36 -07:00
Anthony Sottile aea23c4fca do not save the cache if it was restored 2020-06-13 12:58:38 -07:00
Anthony Sottile 5c843d930a Merge pull request #31 from Trim21/master
embedding cache steps by using @actions/cache
2020-06-13 12:48:50 -07:00
Anthony Sottile 5a37a08ca7 simplifications 2020-06-13 12:46:08 -07:00
Trim21 4a08748ace embedding cache steps by using @actions/cache 2020-06-13 12:43:57 -07:00
Anthony Sottile 7d1e41a366 v1.1.1 (again) 2020-06-10 14:04:50 -07:00
Anthony Sottile 41b5967046 v1.1.1 2020-06-10 14:03:40 -07:00
Anthony Sottile 9d0c65630e Merge pull request #34 from pre-commit/update2
use even newer versions
2020-06-10 13:43:51 -07:00
Anthony Sottile 429fdd0c1e use even newer versions 2020-06-10 13:41:57 -07:00
Anthony Sottile f2f2263f6d Merge pull request #33 from pre-commit/upgrade_packages
upgrade packages
2020-06-10 13:33:14 -07:00
Anthony Sottile 9890cdb47c upgrade packages 2020-06-10 13:21:15 -07:00
Anthony Sottile 771019abd6 set mode: production to silence webpack warning 2020-05-22 14:29:06 -07:00
Anthony Sottile 23a27b703c Merge pull request #29 from pre-commit/include_license
include the license in the release output
2020-05-22 13:09:38 -07:00
Anthony Sottile 6310594289 include the license in the release output 2020-05-22 13:06:23 -07:00
Anthony Sottile 2658e129a9 add LICENSE resolves #25 2020-05-16 09:34:36 -07:00
Anthony Sottile 663c15c2eb v1.1.0 2020-05-15 08:20:10 -07:00
Anthony Sottile b1bfac3edf Merge pull request #15 from deepyaman/patch-1
Support `extra_args` keyword in pre-commit GitHub action
2020-05-15 08:16:32 -07:00
Deepyaman Datta 30b00a6cd9 Support extra_args keyword in pre-commit GitHub action 2020-05-15 08:14:38 -07:00
Anthony Sottile 56842c8f20 Merge pull request #24 from pre-commit/revert-20-patch-1
Revert "Update example to newer actions/* versions"
2020-05-12 07:50:49 -07:00
Anthony Sottile fa11d0be91 Revert "Update example to newer actions/* versions" 2020-05-12 07:50:38 -07:00
Anthony Sottile 5cbdcfe916 Merge pull request #23 from pre-commit/all-repos_autofix_pre-commit-autoupdate
Run pre-commit autoupdate
2020-05-11 15:32:06 -07:00
Anthony Sottile 70cb1ebc8b Run pre-commit autoupdate
Committed via https://github.com/asottile/all-repos
2020-05-11 14:14:30 -07:00
Anthony Sottile cbf0c679a9 Merge pull request #20 from pradyunsg/patch-1
Update example to newer actions/* versions
2020-05-07 17:16:05 -07:00
Pradyun Gedam 0ed43356a6 Update example to newer actions/* versions 2020-05-08 05:03:23 +05:30
Anthony Sottile 80db042ff0 Merge pull request #19 from pre-commit/update_deps
reinstall npm dependencies to fix security alert
2020-05-05 12:38:58 -07:00
Anthony Sottile 65d0d30000 reinstall npm dependencies to fix security alert 2020-05-05 10:57:51 -07:00
Anthony Sottile a10ca4ef27 Merge pull request #16 from pre-commit/dependabot/npm_and_yarn/acorn-6.4.1
Bump acorn from 6.4.0 to 6.4.1
2020-04-05 09:48:11 -07:00
dependabot[bot] e9c38135ce Bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-05 11:51:15 +00:00
Anthony Sottile b9549d1fa8 Merge pull request #14 from uranusjr/cache-key-python-impl
Use python -c to get the interpreter path hash
2020-03-09 07:21:24 -07:00
Tzu-ping Chung 4d8b5b8789 Use python -c to get the interpreter path hash
The current implementation has compatibility problems due to it using commands
only available on GNU Linux. Use an equivalent Python implementation for better
support on Windows and macOS.

See pypa/pip#7835.

Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
2020-03-09 20:45:11 +08:00
Anthony Sottile ee269b64a6 also include the location of the python in the cache key 2020-03-06 13:23:31 -08:00
Anthony Sottile 4fce1afd0c v1.0.1 2020-01-10 07:09:05 -08:00
Anthony Sottile b25e7c29f3 Only run push for pull requests 2020-01-09 15:19:29 -08:00
Anthony Sottile 14f08406df Merge pull request #2 from pre-commit/security_update
fix security nag
2019-12-09 14:29:51 -08:00
Anthony Sottile bb2f451c85 fix security nag 2019-12-09 14:05:33 -08:00
Anthony Sottile 1f6f44efaf Give the action sample a name: ... 2019-11-27 14:41:24 -08:00
Anthony Sottile 614487b962 Initial commit 2019-11-24 19:27:32 -08:00
Anthony Sottile 1dde72fd16 Empty initial commit 2019-08-24 11:58:22 -07:00