Skip to content

Commit

Permalink
Fix Backport action (#23)
Browse files Browse the repository at this point in the history
A [syntax error causes a failure to evaluate the
script](https://github.com/hazelcast/hz-docs/actions/runs/12912238050).

This was _probably_ a copy-paste error introduced when copying from my
test environment in #21.

I have investigated some kind of validation tool to catch this error to
add to the PR builder without running the workflow but been
unsuccessful.
  • Loading branch information
JackPGreen authored Jan 23, 2025
1 parent 5e3b736 commit 6dd3bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/backport/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ runs:
--repo ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} \
--body "👍 Created $(gh pr view --json url --jq .url) to backport into [\`${{ inputs.TARGET_BRANCH }}\`](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/tree/${{ inputs.TARGET_BRANCH }})."
env:
GH_TOKEN: ${{ inputs.GITHUB_TOKEN }
GH_TOKEN: ${{ inputs.GITHUB_TOKEN }}

- name: Report errors
shell: ${{ env.shell }}
Expand Down

0 comments on commit 6dd3bd7

Please sign in to comment.