We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d28825 commit 4642c34Copy full SHA for 4642c34
.github/workflows/publish-release-assets.yml
@@ -133,10 +133,12 @@ jobs:
133
# Configure git credentials securely using credential helper
134
# This keeps the token out of the command line and git URLs
135
git config --global credential.helper 'cache --timeout=300'
136
- echo "protocol=https
+ git credential approve <<EOF
137
+protocol=https
138
host=github.com
139
username=x-access-token
-password=${GH_TOKEN}" | git credential approve
140
+password=${GH_TOKEN}
141
+EOF
142
143
# Push the tag using standard remote (credentials from helper)
144
git push origin "${TAG_NAME}"
0 commit comments