File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 225225 echo "Nightly tag already points to this commit. Skipping update."
226226 fi
227227
228-
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.
229230 - name : Generate Release Notes (Experimental)
230231 if : ${{ success() && env.releaseRequired == 'true' }}
231232 id : gen-release-notes
237238 echo "$RELEASE_NOTES"
238239 echo "EOF"
239240 } >> $GITHUB_ENV
241+ env :
242+ GITHUB_TOKEN : ${{ secrets.NIGHTLY_RELEASE_NOTES_GH_TOKEN }}
240243 - name : Release Nightly Version
241244# Only run this step, if not called from another workflow. And a previous step is successful with releasedRequired=true
242245 id : release
You can’t perform that action at this time.
0 commit comments