5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-07 10:46:56 +00:00
Commit graph

22 commits

Author SHA1 Message Date
Henry Harutyunyan
8cbf24c844
Update README with the latest version number 2021-06-17 01:54:31 +04:00
Anthony Sottile
b48458a1c2 Add deprecation notice 2021-05-07 07:59:13 -07:00
Anthony Sottile
60a9f2e5ef v2.0.2 2021-04-05 07:04:39 -07:00
Anthony Sottile
b54880c283 v2.0.1 2021-04-04 17:43:44 -07:00
Anthony Sottile
605aeba557 enable pre-commit.ci 2020-10-29 11:21:55 -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
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
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
663c15c2eb v1.1.0 2020-05-15 08:20:10 -07:00
Deepyaman Datta
30b00a6cd9 Support extra_args keyword in pre-commit GitHub action 2020-05-15 08:14:38 -07:00
Anthony Sottile
fa11d0be91
Revert "Update example to newer actions/* versions" 2020-05-12 07:50:38 -07:00
Pradyun Gedam
0ed43356a6
Update example to newer actions/* versions 2020-05-08 05:03:23 +05:30
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
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