We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e47978 commit a709ae0Copy full SHA for a709ae0
1 file changed
.github/workflows/nightly-build.yml
@@ -225,7 +225,8 @@
225
echo "Nightly tag already points to this commit. Skipping update."
226
fi
227
228
-
+ # 🚨⚠️ WARNING: the GITHUB_TOKEN under this step, has access to write & read access to Contents, Pull Requests
229
+ # Which is why, it uses a fine-granted token with Read-Only Access to Public Repos Only.
230
- name: Generate Release Notes (Experimental)
231
if: ${{ success() && env.releaseRequired == 'true' }}
232
id: gen-release-notes
@@ -237,6 +238,8 @@
237
238
echo "$RELEASE_NOTES"
239
echo "EOF"
240
} >> $GITHUB_ENV
241
+ env:
242
+ GITHUB_TOKEN: ${{ secrets.NIGHTLY_RELEASE_NOTES_GH_TOKEN }}
243
- name: Release Nightly Version
244
# Only run this step, if not called from another workflow. And a previous step is successful with releasedRequired=true
245
id: release
0 commit comments