diff --git a/README.md b/README.md index ff160b0..706c126 100644 --- a/README.md +++ b/README.md @@ -21,23 +21,25 @@ A string value of 'true' or 'false' To check if the tag `v1.0` exists in your repo: ```yaml -- uses: mukunku/tag-exists-action@v1.4.0 - id: checkTag +- uses: mukunku/tag-exists-action@v1.5.0 + id: check-tag with: tag: 'v1.0' -- run: echo ${{ steps.checkTag.outputs.exists }} +- run: echo ${{ steps.check-tag.outputs.exists }} ``` To check if the tag [`v1.0.0`](https://github.com/actions/checkout/releases/tag/v1.0.0) exists in the repo `actions/checkout`: ```yaml -- uses: mukunku/tag-exists-action@v1.4.0 - id: checkTag +- uses: mukunku/tag-exists-action@v1.5.0 + id: check-tag with: tag: 'v1.0.0' repo: 'actions/checkout' -- run: echo ${{ steps.checkTag.outputs.exists }} +- run: echo ${{ steps.check-tag.outputs.exists }} ``` +
+ This action uses the `${{github.token}}` secret to automatically inject your access token. If you'd like to provide your own token instead check out [this help article](https://github.com/mukunku/tag-exists-action/wiki/Setting-the-GITHUB_TOKEN-explicitly).