Skip to content

Commit

Permalink
docs: update version in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tsinis committed Mar 30, 2024
1 parent 25651f3 commit 40b41be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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:
Expand All @@ -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 }}
```
Expand All @@ -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)"
```
Expand All @@ -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 }}
```
Expand Down

0 comments on commit 40b41be

Please sign in to comment.