Skip to content

Commit

Permalink
action: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeken committed Jun 25, 2023
1 parent dd1bbb3 commit a7d4571
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ runs:
run: |
T=$(mktemp)
trap "rm -f $T" 1 2 3 15
urlparam=""
if [ -n "${{ inputs.github_url }}" ]; then
urlparam="-url ${{ inputs.github_url }}"
fi
env GITHUB_PRIV_KEY="${{ inputs.private_key }}" go-github-apps -inst-id ${{ inputs.installation_id }} -app-id ${{ inputs.app_id }} $urlparam > $T
echo "github_token=$(cat $T)" >> $GITHUB_OUTPUT
shell: bash

0 comments on commit a7d4571

Please sign in to comment.