forked from hmarr/auto-approve-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from tsinis/v0.1.3
fix: use "" for case sensitivity flag in reg exp [SHIP]
- Loading branch information
Showing
6 changed files
with
42 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ This action will get information about the preferred ship/show/ask strategy of t | |
|
||
## Usage instructions | ||
|
||
Create a workflow file (e.g. `.github/workflows/ship-show-ask.yml`) that contains a step that `uses: tsinis/[email protected].2`. Here's an example workflow file: | ||
Create a workflow file (e.g. `.github/workflows/ship-show-ask.yml`) that contains a step that `uses: tsinis/[email protected].3`. Here's an example workflow file: | ||
|
||
```yaml | ||
name: Auto approve Ship/Show PRs | ||
|
@@ -22,7 +22,7 @@ jobs: | |
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: tsinis/[email protected].2 | ||
- uses: tsinis/[email protected].3 | ||
with: | ||
ship-keyword: 'lgtm' # optional, default to 'ship' | ||
show-keyword: 'lgty' # optional, default to 'show' | ||
|
@@ -71,7 +71,7 @@ jobs: | |
pull-requests: write | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- uses: tsinis/[email protected].2 | ||
- uses: tsinis/[email protected].3 | ||
``` | ||
If you want to use this action from a workflow file that doesn't run on the `pull_request` or `pull_request_target` events, use the `pull-request-number` input: | ||
|
@@ -92,7 +92,7 @@ jobs: | |
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: tsinis/[email protected].2 | ||
- uses: tsinis/[email protected].3 | ||
with: | ||
pull-request-number: ${{ github.event.inputs.pullRequestNumber }} | ||
``` | ||
|
@@ -112,7 +112,7 @@ jobs: | |
pull-requests: write | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- uses: tsinis/[email protected].2 | ||
- uses: tsinis/[email protected].3 | ||
with: | ||
review-message: "Auto approved automated PR (from Dependabot)" | ||
``` | ||
|
@@ -133,7 +133,7 @@ jobs: | |
ship-show-ask: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tsinis/[email protected].2 | ||
- uses: tsinis/[email protected].3 | ||
with: | ||
github-token: ${{ secrets.SOME_USERS_PAT }} | ||
``` | ||
|
@@ -156,4 +156,4 @@ If you're using a [CODEOWNERS file](https://docs.github.com/en/github/creating-c | |
|
||
## Development and release process | ||
|
||
Each major version corresponds to a branch (e.g. `v0.1`, `v1.0`). Releases are tagged with semver-style version numbers (e.g. `v0.1.2`). | ||
Each major version corresponds to a branch (e.g. `v0.1`, `v1.0`). Releases are tagged with semver-style version numbers (e.g. `v0.1.3`). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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