-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin peter-evans/create-pull-request v6 (#156)
* Pin peter-evans/create-pull-request v6 * Pin peter-evans/create-pull-request v6
- Loading branch information
Showing
8 changed files
with
35 additions
and
35 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,15 +88,15 @@ In these cases, you *must supply* the `base` input so the action can rebase chan | |
Workflows triggered by [`pull_request`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request) events will by default check out a merge commit. Set the `base` input as follows to base the new pull request on the current pull request's branch. | ||
|
||
```yml | ||
- uses: peter-evans/create-pull-request@v4 | ||
- uses: peter-evans/create-pull-request@v6 | ||
with: | ||
base: ${{ github.head_ref }} | ||
``` | ||
|
||
Workflows triggered by [`release`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#release) events will by default check out a tag. For most use cases, you will need to set the `base` input to the branch name of the tagged commit. | ||
|
||
```yml | ||
- uses: peter-evans/create-pull-request@v4 | ||
- uses: peter-evans/create-pull-request@v6 | ||
with: | ||
base: main | ||
``` | ||
|
@@ -180,7 +180,7 @@ Checking out a branch from a different repository from where the workflow is exe | |
# Make changes to pull request here | ||
- uses: peter-evans/create-pull-request@v4 | ||
- uses: peter-evans/create-pull-request@v6 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
``` | ||
|
@@ -207,7 +207,7 @@ How to use SSH (deploy keys) with create-pull-request action: | |
# Make changes to pull request here | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v6 | ||
``` | ||
|
||
### Push pull request branches to a fork | ||
|
@@ -230,7 +230,7 @@ Note that if you choose to use this method (not give the machine account `write` | |
# Make changes to pull request here | ||
- uses: peter-evans/create-pull-request@v4 | ||
- uses: peter-evans/create-pull-request@v6 | ||
with: | ||
token: ${{ secrets.MACHINE_USER_PAT }} | ||
push-to-fork: machine-user/fork-of-repository | ||
|
@@ -273,7 +273,7 @@ GitHub App generated tokens are more secure than using a PAT because GitHub App | |
# Make changes to pull request here | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
``` | ||
|
@@ -314,7 +314,7 @@ The action can use GPG to sign commits with a GPG key that you generate yourself | |
# Make changes to pull request here | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
committer: example <[email protected]> | ||
|
@@ -344,7 +344,7 @@ jobs: | |
# Make changes to pull request here | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v6 | ||
``` | ||
**Ubuntu container example:** | ||
|
@@ -367,5 +367,5 @@ jobs: | |
# Make changes to pull request here | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v6 | ||
``` |
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