Skip to content

Commit

Permalink
fix env resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
UmairJibran committed May 21, 2023
1 parent 218ba46 commit e069f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ runs:
API_URL="https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments"
echo "POSTING COMMENT ON PR"
curl -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_PAT }}" -d "{\"body\":\"$COMMENT\"}" $API_URL
curl -X POST -H "Authorization: Bearer ${{ env.GITHUB_PAT }}" -d "{\"body\":\"$COMMENT\"}" $API_URL
shell: bash
if: ${{ steps.merge-branch.outcome == 'success' }}
env:
Expand Down

0 comments on commit e069f39

Please sign in to comment.