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.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ This is a fork of the [Auto Approve](https://github.com/marketplace/actions/auto | |
|
||
## Usage instructions | ||
|
||
Create a workflow file (e.g. `.github/workflows/ship-show-ask.yml`) that contains a step that `uses: tsinis/[email protected]`. 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].0`. Here's an example workflow file: | ||
|
||
```yaml | ||
name: Auto approve Ship/Show PRs | ||
|
@@ -20,7 +20,7 @@ jobs: | |
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: tsinis/[email protected] | ||
- uses: tsinis/[email protected].0 | ||
with: | ||
ship-keyword: 'lgtm' # optional, default to 'ship' | ||
show-keyword: 'lgty' # optional, default to 'show' | ||
|
@@ -63,7 +63,7 @@ jobs: | |
pull-requests: write | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- uses: tsinis/[email protected] | ||
- uses: tsinis/[email protected].0 | ||
``` | ||
|
||
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: | ||
|
@@ -84,7 +84,7 @@ jobs: | |
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: tsinis/[email protected] | ||
- uses: tsinis/[email protected].0 | ||
with: | ||
pull-request-number: ${{ github.event.inputs.pullRequestNumber }} | ||
``` | ||
|
@@ -102,7 +102,7 @@ jobs: | |
pull-requests: write | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- uses: tsinis/[email protected] | ||
- uses: tsinis/[email protected].0 | ||
with: | ||
review-message: "Auto approved automated PR (from Dependabot)" | ||
``` | ||
|
@@ -121,7 +121,7 @@ jobs: | |
ship-show-ask: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tsinis/[email protected] | ||
- uses: tsinis/[email protected].0 | ||
with: | ||
github-token: ${{ secrets.SOME_USERS_PAT }} | ||
``` | ||
|