From 43f0d746ccf0990f7dec9fb7f4322d55bce51ab0 Mon Sep 17 00:00:00 2001 From: Michael Heap Date: Fri, 30 Dec 2022 15:06:24 +0000 Subject: [PATCH] Bump README to v3 --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b006048..634b638 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ jobs: label: runs-on: ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v2 + - uses: mheap/github-action-required-labels@v3 with: mode: exactly count: 1 @@ -46,7 +46,7 @@ By default this actions reads `event.json`, which will not detect when a label i To force an API call, set the `GITHUB_TOKEN` environment variable like so: ```yaml -- uses: mheap/github-action-required-labels@v2 +- uses: mheap/github-action-required-labels@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -58,7 +58,7 @@ To force an API call, set the `GITHUB_TOKEN` environment variable like so: ### Prevent merging if a label exists ```yaml -- uses: mheap/github-action-required-labels@v2 +- uses: mheap/github-action-required-labels@v3 with: mode: exactly count: 0 @@ -68,7 +68,7 @@ To force an API call, set the `GITHUB_TOKEN` environment variable like so: ### Post a comment when the check fails ```yaml -- uses: mheap/github-action-required-labels@v2 +- uses: mheap/github-action-required-labels@v3 with: mode: exactly count: 1 @@ -79,7 +79,7 @@ To force an API call, set the `GITHUB_TOKEN` environment variable like so: ### Require multiple labels ```yaml -- uses: mheap/github-action-required-labels@v2 +- uses: mheap/github-action-required-labels@v3 with: mode: minimum count: 2 @@ -89,7 +89,7 @@ To force an API call, set the `GITHUB_TOKEN` environment variable like so: ### Exit with a neutral result rather than failure ```yaml -- uses: mheap/github-action-required-labels@v2 +- uses: mheap/github-action-required-labels@v3 with: mode: minimum count: 2 @@ -115,7 +115,7 @@ jobs: status: ${{ steps.check-labels.outputs.status }} steps: - id: check-labels - uses: mheap/github-action-required-labels@v2 + uses: mheap/github-action-required-labels@v3 with: mode: exactly count: 1