From e2b43f42bb2f31062fb170d5a31b0f0eb9215753 Mon Sep 17 00:00:00 2001 From: 8BitJonny Date: Sat, 18 Jun 2022 18:01:23 -0400 Subject: [PATCH] :bookmark: bump version to v2.1.0 --- README.md | 10 +++++----- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1721f35..d04008e 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ This action enables you to get the PR no matter which event type triggered the w ```yml steps: - - uses: 8BitJonny/gh-get-current-pr@2.0.0 + - uses: 8BitJonny/gh-get-current-pr@2.1.0 id: PR - run: echo "Your PR number is ${{ steps.PR.outputs.number }} and its JSON is ${{ steps.PR.outputs.pr }}" @@ -39,7 +39,7 @@ This action enables you to get the PR no matter which event type triggered the w See [action.yml](action.yml) for more details. ```yml steps: - - uses: 8BitJonny/gh-get-current-pr@2.0.0 + - uses: 8BitJonny/gh-get-current-pr@2.1.0 id: PR with: # Authetication token to access GitHub APIs. (Can be omitted by default.) @@ -56,7 +56,7 @@ See [action.yml](action.yml) for more details. See [action.yml](action.yml) for more details. ```yml steps: - - uses: 8BitJonny/gh-get-current-pr@2.0.0 + - uses: 8BitJonny/gh-get-current-pr@2.1.0 id: PR - run: echo "PR ${prNumber} ${prTitle} at ${prUrl} is ${prJSON}" @@ -81,7 +81,7 @@ Useful when the information you're looking for is not exported as a direct outpu See [GitHub Documentation](https://docs.github.com/en/rest/commits/commits#list-pull-requests-associated-with-a-commit) for details how the object looks like. ```yml steps: - - uses: 8BitJonny/gh-get-current-pr@2.0.0 + - uses: 8BitJonny/gh-get-current-pr@2.1.0 id: PR - name: "Pull Request ${{ steps.PR.outputs.number }}" @@ -100,7 +100,7 @@ A short form of the article's explanation is, that Github creates an extra merge To always find and pass the correct commit SHA to this action use this workflow config: ```yml steps: - - uses: 8BitJonny/gh-get-current-pr@2.0.0 + - uses: 8BitJonny/gh-get-current-pr@2.1.0 id: PR with: sha: ${{ github.event.pull_request.head.sha }} diff --git a/package-lock.json b/package-lock.json index b8dc4cc..c6fb24d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "actiongetcurrentpr", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "actiongetcurrentpr", - "version": "2.0.0", + "version": "2.1.0", "license": "SEE LICENSE IN LICENSE file", "dependencies": { "@actions/core": "^1.8.2", diff --git a/package.json b/package.json index 899fbb2..c4e105e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "actiongetcurrentpr", - "version": "2.0.0", + "version": "2.1.0", "description": "Github Action for getting the current PR if the commit belongs to one", "main": "lib/main.js", "scripts": {