Commit graph

183 commits

Author SHA1 Message Date
Scott Alexander 15b68d176d
fix: strip optional '.git' suffix from https server remote name. (#1153)
* Strip optional '.git' suffix from https server remote name.

* Revert "Strip optional '.git' suffix from https server remote name."

This reverts commit c2e9041213985796111bd85229e2375f407c2752.

* Strip optional '.git' suffix from https server remote name.
2022-03-31 17:10:39 +09:00
Peter Evans d6d5519d05
v4 (#1099)
* feat: update action runtime to node 16

* feat: allow add-paths to resolve to no changes

* docs: update readme

* chore: update package lock

* chore: bump dependency

* ci: add dependabot workflow

* docs: update action versions
2022-03-23 14:22:01 +09:00
Peter Evans 18f7dc018c feat: revert update action runtime to node 16 2022-02-28 21:17:05 +09:00
Sibiraj 89265e8d24
feat: update action runtime to node 16 (#1074)
* fix: prefer getMultilineInput and getBooleanInput from actions/core

* build: update distribution

* feat: update action runtime to node 16

* ci: update setup-node and cache npm dependencies

* revert: getMultilineInput to getInputAsArray

* build: update distribution
2022-02-28 13:55:51 +09:00
Peter Evans a7bb76508d
fix: remove unused draft param from pull update (#1065) 2022-02-23 15:34:53 +09:00
Kenji Miyake f22a7da129
fix: add '--' to checkout command to avoid ambiguity (#1051)
* fix: add '--' to checkout command to avoid ambiguity

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Update src/git-command-manager.ts

Co-authored-by: Peter Evans <18365890+peter-evans@users.noreply.github.com>

Co-authored-by: Peter Evans <18365890+peter-evans@users.noreply.github.com>
2022-01-31 09:49:59 +09:00
Peter Evans 3f60247108
ci: remove workflow (#1046) 2022-01-28 11:42:48 +09:00
Peter Evans dcd5fd746d
feat: add-paths input (#1010)
* add add-pattern-array argument

* ignore return code

* doc to add-pattern-array

* update README.md

* cleanup after success commit

* fix integration tests

* add test

* update naming and docs

* update readme

* fix missing await

* update docs

Co-authored-by: avdim <avdim@mail.ru>
Co-authored-by: Авдеев Дима <avdeev@tutu.tech>
2021-12-14 11:23:29 +09:00
Peter Evans 10a1849302 chore: update dist 2021-12-02 11:19:12 +09:00
peter-evans a5a72ba246 build: update distribution 2021-11-04 02:07:25 +00:00
Peter Evans c0a9598b0e feat: add output for head sha 2021-11-04 10:42:17 +09:00
peter-evans ad71e1f128 build: update distribution 2021-10-07 01:48:29 +00:00
Peter Evans 3263596ac4 fix: set error types to any 2021-09-02 13:59:32 +09:00
peter-evans 028a63020c build: update distribution 2021-07-22 02:05:00 +00:00
peter-evans a518698c07 build: update distribution 2021-05-27 04:20:57 +00:00
Peter Evans 28beef91aa feat: add support for https_proxy env var 2021-05-22 09:32:10 +09:00
Peter Evans 32c71c837c fix: improve logging 2021-05-14 13:47:55 +09:00
peter-evans 423630f7c0 build: update distribution 2021-05-13 03:50:34 +00:00
Peter Evans 8bb8511e4d fix: remove unnecessary gpg-sign input 2021-05-10 09:01:53 +09:00
Peter Evans 0524c01297 feat: add input to enable gpg commit signing 2021-05-09 10:14:59 +09:00
peter-evans e4c811acf5 build: update distribution 2021-04-01 03:07:25 +00:00
peter-evans ad897490d5 build: update distribution 2021-03-16 02:35:04 +00:00
peter-evans 6ec5e3e26b build: update distribution 2021-02-25 02:20:17 +00:00
Peter Evans ed00d4629c fix: use the correct assignees property 2021-02-10 09:00:23 +09:00
Peter Evans c27ea51ae0 fix: add to labels and assignees instead of resetting 2021-02-08 09:32:46 +09:00
Peter Evans b5f41d9b08 feat: add pull-request-operation output 2021-02-01 09:57:11 +09:00
Johannes Nicolai 05bc46786e Support GitHub Server API URL
* pass GitHub Server API in Octokkit constructor
2021-01-25 19:16:19 +01:00
Johannes Nicolai adc6552966 Support GitHub Enterprise Server
* parse GITHUB_SERVER_URL if present
* accept proper server remotes as well
2021-01-25 18:25:20 +01:00
peter-evans 3fb765f674 build: update distribution 2021-01-25 05:19:37 +00:00
peter-evans be0a8c9666 build: update distribution 2020-12-28 01:20:44 +00:00
Peter Evans 249b80db6b perf: git reset instead of fetch 2020-12-23 14:10:40 +09:00
Peter Evans d01e0807ef fix: change or->and to catch all errors 2020-12-09 09:38:10 +09:00
Peter Evans 9984f611a7 fix: prune stale remote ref for self-hosted runners 2020-11-24 12:34:57 +09:00
Peter Evans ddeca94037 perf: set diff quiet and switch isdirty command order 2020-11-17 11:42:31 +09:00
peter-evans 13ec5274b1 build: update distribution 2020-10-02 06:17:23 +00:00
Peter Evans 2465e435b9 feat: output the pull request url 2020-09-17 10:41:26 +09:00
peter-evans eb13e17e17 build: update distribution 2020-09-17 01:38:44 +00:00
peter-evans af682c8fcb build: update distribution 2020-09-13 06:11:21 +00:00
peter-evans 279e66ed27 Update distribution 2020-09-07 00:29:59 +00:00
Peter Evans e17bb55cb7
Merge pull request #547 from peter-evans/delete-branch
feat: add input for branch delete
2020-09-07 09:14:08 +09:00
Peter Evans a49ee3308e feat: add input for branch delete 2020-09-06 10:21:35 +09:00
Peter Evans 16fa12ee5f fix: reset branches to handle squash merge 2020-09-06 08:55:33 +09:00
Peter Evans 095c53659b feat: support checkout on a commit in addition to a ref 2020-08-29 17:28:46 +09:00
Peter Evans 9c3bf74d10 Change zeit to vercel 2020-08-22 11:42:42 +09:00
peter-evans 7cf22579c6 Update distribution 2020-08-19 08:39:31 +00:00
Peter Evans 8bdec9b230 Fix pr create/update for already up to date branches 2020-08-19 17:08:59 +09:00
Peter Evans 1c466bedd5 Fix branch naming check for push-to-fork 2020-08-19 12:22:50 +09:00
peter-evans 52cabd40b9 Update distribution 2020-08-19 03:20:28 +00:00
Peter Evans ba8309ff9c Refactor setting commit params 2020-07-31 16:57:16 +09:00
pvogt09 0c57887fe8 Update distribution 2020-07-30 15:18:17 +00:00
Peter Evans 8c01dce3ac Restore the branch-suffix input 2020-07-20 19:15:11 +09:00
Peter Evans 76c09b178c Default author and committer to actions.yml defaults 2020-07-19 20:23:36 +09:00
Peter Evans 6fa44e144d Set defaults in action.yml 2020-07-19 15:09:44 +09:00
Peter Evans b5b1bc17a4 Remove branch-suffix input 2020-07-19 13:58:50 +09:00
Peter Evans 794518a553 Move fileExistsSync to utils 2020-07-18 17:55:42 +09:00
Peter Evans f4ee4a8333 Unshallow on fetch 2020-07-18 16:04:36 +09:00
Peter Evans 053b501145 Redesign from request-to-parent to push-to-fork 2020-07-18 15:35:30 +09:00
Peter Evans 1a182d0679 Fix function name 2020-07-17 21:06:16 +09:00
Peter Evans 24012f5c84 Refactor extraheader auth handling 2020-07-17 20:54:39 +09:00
Peter Evans a6a1a418bf Use force-with-lease to push the pr branch 2020-07-17 10:37:09 +09:00
Peter Evans 5429e57002 Keep env var output for backwards compat 2020-07-16 19:42:19 +09:00
Peter Evans 3c32fac1fe Tidy log output into groups 2020-07-16 19:13:28 +09:00
Peter Evans 803cc5ea8a Remove python related code and artifacts 2020-07-16 18:18:58 +09:00
Peter Evans 4ba9ca3d10 Convert action to typescript 2020-07-16 17:57:42 +09:00
peter-evans e9a825aacd Update distribution 2020-06-27 08:06:58 +00:00
Peter Evans 14ee9d1df2 Parse repo urls with credentials 2020-06-27 16:45:24 +09:00
Peter Evans 86ccd8cdef Add missing types 2020-06-03 16:47:02 +09:00
peter-evans 7a856e8b5d Update distribution 2020-05-24 00:34:21 +00:00
peter-evans 5cb0d674f3 Update distribution 2020-05-17 09:26:30 +00:00
peter-evans 8cc3564bf3 Update distribution 2020-05-11 05:09:19 +00:00
peter-evans 75104b7d7e Update distribution 2020-05-11 04:58:23 +00:00
peter-evans 17bd947e89 Update distribution 2020-05-06 03:42:38 +00:00
peter-evans d650be7389 Update distribution 2020-05-03 03:15:56 +00:00
Peter Evans 2f7173349f Fix dist requirements version 2020-05-03 12:13:39 +09:00
Renovate Bot 16e35685ce
Update dependency PyGithub to v1.51 2020-05-03 02:36:00 +00:00
renovate[bot] bd1f6727cd Update distribution 2020-05-02 11:27:54 +00:00
peter-evans b9eb5dd95e Update distribution 2020-05-02 08:45:04 +00:00
Peter Evans c71b8e4206 Update vendored dependencies 2020-04-27 11:48:52 +09:00
Renovate Bot e2bf7f9b75 Update dependency PyGithub to v1.50 2020-04-27 11:47:17 +09:00
Peter Evans c9f22f86fb Vendor wheel 2020-04-14 11:48:20 +09:00
Peter Evans 35d5f3c8ae Vendor setuptools 2020-04-14 11:43:07 +09:00
Peter Evans 000a0fc06a Update vendored dependencies 2020-04-13 17:53:37 +09:00
Renovate Bot 2a59f517a7 Update dependency GitPython to v3.1.1 2020-04-13 17:51:52 +09:00
Peter Evans abc19caa82 Add input for draft pull requests 2020-04-04 09:47:58 +09:00
Jérémy Derussé 6bb0e7771c
Apply suggestions from code review
Co-Authored-By: Peter Evans <peter-evans@users.noreply.github.com>
2020-03-29 12:43:21 +02:00
Jérémy Derussé e48dab0c1c
Add PR creation from Fork 2020-03-28 13:10:12 +01:00
Peter Evans 69008aa567 Update vendored dependencies 2020-03-21 11:29:37 +09:00
Renovate Bot ae4278bf24 Update dependency PyGithub to v1.47 2020-03-21 11:23:42 +09:00
Peter Evans 694e068136 Update vendored dependencies 2020-03-07 08:57:59 +09:00
Renovate Bot 52ada17960 Update dependency GitPython to v3.1.0 2020-02-25 13:12:00 +09:00
Peter Evans 0d42c285a3 Unset and restore authorization extraheader only 2020-02-22 16:56:42 +09:00
Peter Evans d5c5ea3e20 Unset and restore extraheader config option 2020-02-22 14:08:54 +09:00
Peter Evans 289fda9fea Authenticate with git extraheader 2020-02-18 19:35:15 +09:00
Peter Evans b021b9e27a Update vendored dependencies 2020-02-18 15:59:18 +09:00
Renovate Bot c26314237b Update dependency GitPython to v3.0.8 2020-02-18 15:57:13 +09:00
Peter Evans 4beea725d3 Call python3 when running in a container 2020-02-13 17:37:08 +09:00
Peter Evans 9d58699da5 Skip python setup when running in a container 2020-02-13 16:26:04 +09:00
Peter Evans 4dd195d7c3 Update vendored dependencies 2020-02-11 13:51:59 +09:00
Renovate Bot 72b5f45bb4 Update dependency PyGithub to v1.46 2020-02-11 13:49:50 +09:00
Peter Evans 7b5ff6b642 Add support for ssh protocol 2020-02-10 22:52:00 +09:00