Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal authored Mar 28, 2024
1 parent 2ff5f1f commit 2f5eb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions better-dependabot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
PR_EXISTS=$(gh pr list --search "head:${BRANCH_PREFIX} type:pr state:open" | wc -l)
echo "PR_EXISTS=${PR_EXISTS}" >> $GITHUB_ENV
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
echo "::set-output name=pr_exists::${PR_EXISTS}"
echo "pr_exists=${PR_EXISTS}" >> $GITHUB_OUTPUT
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
Expand Down Expand Up @@ -91,7 +91,7 @@ runs:
- name: Create Pull Request
if: steps.check_pr.outputs.pr_exists == '0'
run: |
gh pr create --title "Better Dependabot: Update ${{ inputs.version_target }} dependencies" --body "This PR updates dependencies to the most recent ${{ inputs.version_target }} versions." --head $BRANCH_NAME --base main
gh pr create --title "Better Dependabot: Update ${{ inputs.version_target }} dependencies" --body "This PR updates dependencies to the most recent ${{ inputs.version_target }} versions." --head $BRANCH_NAME --base ${{ inputs.target_branch }}
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
Expand Down

0 comments on commit 2f5eb97

Please sign in to comment.