From b4d28a5083a3c6598f5afeb54910f0b263770804 Mon Sep 17 00:00:00 2001 From: Sal Date: Thu, 14 Dec 2023 21:05:43 -0500 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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).