Skip to content

Commit

Permalink
auth login
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Feb 14, 2025
1 parent 2323e89 commit e95bea7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions actions/commit_pr_and_merge/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ runs:
- name: Kat Sophia test
shell: bash
run: |
echo ${{ inputs.github_token == '' && 'no github token' || inputs.github_token }}
gh auth status
echo $GITHUB_TOKEN
export GITHUB_TOKEN=${{ inputs.github_token == '' && github.token || inputs.github_token }}
gh auth login
gh auth status
- name: Merge PR
run: gh pr merge $PR_URL $MERGE_PR_STRATEGY $ADMIN_ACCESS
run: gh pr merge --delete-branch $PR_URL $MERGE_PR_STRATEGY $ADMIN_ACCESS
if: steps.changes.outputs.changes_exist == 'true'
shell: bash
env:
Expand Down

0 comments on commit e95bea7

Please sign in to comment.