diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35b91a4..3cc090f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,18 +1,18 @@ on: - push: - branches: - - master + push: + branches: + - master jobs: - check_pr_labels_job: - runs-on: ubuntu-latest - name: A job to check the PR labels contain given labels - steps: - - name: Check PR labels action step - id: check_pr_labels - uses: shioyang/check-pr-labels-on-push-action@v1.0.3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - labels: '["enhancement"]' - - name: See result - run: echo "${{ steps.check_pr_labels.outputs.result }}" + check_pr_labels_job: + runs-on: ubuntu-latest + name: A job to check the PR labels contain given labels + steps: + - name: Check PR labels action step + id: check_pr_labels + uses: shioyang/check-pr-labels-on-push-action@v1.0.6 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + labels: '["enhancement"]' + - name: See result + run: echo "${{ steps.check_pr_labels.outputs.result }}" diff --git a/README.md b/README.md index eb844ca..8d92327 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The result if given labels have be applied to the PR ## Example Usage ``` -uses: shioyang/check-pr-labels-on-push-action@v1.0.3 +uses: shioyang/check-pr-labels-on-push-action@v1.0.6 with: github-token: ${{ secrets.GITHUB_TOKEN }} labels: '["label-1", "label-2"]' @@ -42,7 +42,7 @@ jobs: steps: - name: Check PR labels action step id: check_pr_labels - uses: shioyang/check-pr-labels-on-push-action@v1.0.3 + uses: shioyang/check-pr-labels-on-push-action@v1.0.6 with: github-token: ${{ secrets.GITHUB_TOKEN }} labels: '["enhancement"]' diff --git a/package.json b/package.json index 15cc220..fc139d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "check-pr-labels-on-push-action", - "version": "1.0.5", + "version": "1.0.6", "main": "index.js", "repository": "git@github.com:shioyang/check-pr-labels-on-push-action.git", "author": "Tomohiro (Tomo) SHIOYA",