Skip to content

Commit

Permalink
fix(create-pr): remove Personal access token from script and replace …
Browse files Browse the repository at this point in the history
…with $GITHUB_TOKEN instead
  • Loading branch information
JoelAlphonso committed Jun 7, 2022
1 parent 8d02b44 commit f2aaac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-pr
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ HTTP_CODE=$(curl --write-out "%{http_code}\n" --output output.txt --silent \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/$OWNER/$REPO/actions/workflows/create-pull-request.yaml/dispatches \
-d "{\"ref\":\"$REF\",\"inputs\":{\"base\":\"$BASE\",\"user_name\":\"$USER\"}}" \
-u github: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)
-u github:$GITHUB_TOKEN)

echo $HTTP_CODE

Expand Down

0 comments on commit f2aaac6

Please sign in to comment.