Skip to content

Commit 5a23230

Browse files
kobihikritiensonqin
authored andcommitted
ci: pin andelf/nightly-release to a full commit SHA
build-desktop-release.yml references this third-party action by the mutable @main tag, in a step that is passed GITHUB_TOKEN and publishes the nightly GitHub release. Pin it to the current main commit SHA (tag kept in a trailing comment) so a moved tag can't run unreviewed code with the release-publishing token. Behaviour unchanged; per GitHub's guidance to pin actions to a full-length commit SHA. Signed-off-by: Kobi Hikri <[email protected]>
1 parent 75d87c4 commit 5a23230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/build-desktop-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ jobs:
723723
run: ls -rl
724724

725725
- name: Update Nightly Release
726-
uses: andelf/nightly-release@main
726+
uses: andelf/nightly-release@5834076edc55cc05975561c9722043f072ac5c26 # main
727727
env:
728728
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
729729
with:

0 commit comments

Comments
 (0)