Skip to content

Commit

Permalink
checkout -> GITHUB_ACTION_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen committed Nov 26, 2024
1 parent 0b32856 commit 7755724
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/actions/backport/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,7 @@ env:
runs:
using: composite
steps:
- uses: actions/checkout@v4
with:
repository: hazelcast/backport
# Hardcoded as composite actions don't support env vars properly
# https://github.com/orgs/community/discussions/51280
path: backport

- name: Checkout maintenance branch and cherry-pick
- name: Backport
shell: ${{ env.shell }}
working-directory: ${{ inputs.REPO_LOCATION }}
run: |
Expand All @@ -48,7 +41,7 @@ runs:
backport_target_branch=upstream/"${{ inputs.TARGET_BRANCH }}"
echo "::debug::Running backport script to backport "${{ inputs.REF_TO_BACKPORT }}" into \"${backport_target_branch}\""
${GITHUB_WORKSPACE}/backport/backport \
${GITHUB_ACTION_PATH}/../../../backport \
"${{ inputs.REF_TO_BACKPORT }}" \
"${backport_target_branch}" \
--non-interactive \
Expand Down

0 comments on commit 7755724

Please sign in to comment.