-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch supported actions/checkout from v1 to v2
When we were supporting v1, we had to take a default branch to push changes back to as well as jump through hoops with setting up proper access urls to push to it. actions/checkout v2 is a lot more featureful. One of those features is to take a branch (under the input `ref`) to check out as well as the token to use to checkout. Switching to v2 and moving the "default branch" and "token to push/pull GitHub with" into the checkout step from our scripts is an overall win. This is a breaking change as I don't want to try to figure out supporting both v1 and v2. Closes #32
- Loading branch information
1 parent
61542c2
commit 83b7428
Showing
6 changed files
with
32 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Switch supported actions/checkout from v1 to v2 | ||
|
||
We've switched from supporting `actions/checkout@v1` to `actions/checkout@v2`. | ||
|
||
The are a few changes to configuration of release-bot that come along with this change. You should check out the examples in the README.md to see the latest on how to configure. | ||
|
||
Highlights of changes: | ||
|
||
- Use `actions/checkout@v2` | ||
- `action/checkout` requires the setting `token` and `ref` values. | ||
- Most workflows no longer require a release token being passed to the action, only to `actions/checkout`. | ||
- Workflows no longer take a default branch. The default branch is now handled by `actions/checkout@v2`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters