Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump release to v0.5.4 #116

Merged
merged 4 commits into from
Feb 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
phony: help

# Release tag for the action
VERSION := v0.5.3
VERSION := v0.5.4

# GitHub Actions bogus variables
GITHUB_REF ?= refs/heads/null
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Features:

```yaml
- name: Run the Action
uses: devops-infra/[email protected].3
uses: devops-infra/[email protected].4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: development
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create pull request
uses: devops-infra/[email protected].3
uses: devops-infra/[email protected].4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
title: Automatic pull request
Expand All @@ -141,7 +141,7 @@ jobs:
fetch-depth: 0
- name: Run the Action
if: startsWith(github.ref, 'refs/heads/feature')
uses: devops-infra/[email protected].3
uses: devops-infra/[email protected].4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
title: ${{ github.event.commits[0].message }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ outputs:
description: Pull request URL.
runs:
using: docker
image: docker://devopsinfra/action-pull-request:v0.5.3
image: docker://devopsinfra/action-pull-request:v0.5.4
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
branding:
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ if [[ -z "${PR_NUMBER}" ]]; then
URL=$(sh -c "${COMMAND}")
# shellcheck disable=SC2181
if [[ "$?" != "0" ]]; then RET_CODE=1; fi
PR_NUMBER=$(gh pr view --json number -q .number "${URL}")
else
echo -e "\nUpdating pull request"
COMMAND="hub api --method PATCH repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER} --field 'body=@/tmp/template'"
Expand Down