Skip to content

Commit

Permalink
Merge pull request #126 from 8BitJonny/release-2.1.1
Browse files Browse the repository at this point in the history
🔖 Bump version to v2.1.1
  • Loading branch information
8BitJonny authored Aug 17, 2022
2 parents 8dab55e + fb6aefe commit 086087c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This action enables you to get the PR no matter which event type triggered the w

```yml
steps:
- uses: 8BitJonny/[email protected].0
- uses: 8BitJonny/[email protected].1
id: PR

- run: echo "Your PR number is ${{ steps.PR.outputs.number }} and its JSON is ${{ steps.PR.outputs.pr }}"
Expand All @@ -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/[email protected].0
- uses: 8BitJonny/[email protected].1
id: PR
with:
# Authetication token to access GitHub APIs. (Can be omitted by default.)
Expand All @@ -56,7 +56,7 @@ See [action.yml](action.yml) for more details.
See [action.yml](action.yml) for more details.
```yml
steps:
- uses: 8BitJonny/[email protected].0
- uses: 8BitJonny/[email protected].1
id: PR

- run: echo "PR ${prNumber} ${prTitle} at ${prUrl} is ${prJSON}"
Expand All @@ -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/[email protected].0
- uses: 8BitJonny/[email protected].1
id: PR
- name: "Pull Request ${{ steps.PR.outputs.number }}"
Expand All @@ -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/[email protected].0
- uses: 8BitJonny/[email protected].1
id: PR
with:
sha: ${{ github.event.pull_request.head.sha }}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "actiongetcurrentpr",
"version": "2.1.0",
"version": "2.1.1",
"description": "Github Action for getting the current PR if the commit belongs to one",
"main": "lib/main.js",
"scripts": {
Expand Down

0 comments on commit 086087c

Please sign in to comment.