Skip to content

Commit f2aaac6

Browse files
committed
fix(create-pr): remove Personal access token from script and replace with $GITHUB_TOKEN instead
1 parent 8d02b44 commit f2aaac6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎create-pr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ HTTP_CODE=$(curl --write-out "%{http_code}\n" --output output.txt --silent \
1313
-H "Accept: application/vnd.github.v3+json" \
1414
https://api.github.com/repos/$OWNER/$REPO/actions/workflows/create-pull-request.yaml/dispatches \
1515
-d "{\"ref\":\"$REF\",\"inputs\":{\"base\":\"$BASE\",\"user_name\":\"$USER\"}}" \
16-
-u github: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)
16+
-u github:$GITHUB_TOKEN)
1717

1818
echo $HTTP_CODE
1919

0 commit comments

Comments
 (0)