Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: update deprecated actions in nightly.yml - #4538

Open
dajiaohuang wants to merge 1 commit into
TabbyML:mainfrom
dajiaohuang:fix/nightly-yml-deprecated-actions
Open

fix: update deprecated actions in nightly.yml#4538
dajiaohuang wants to merge 1 commit into
TabbyML:mainfrom
dajiaohuang:fix/nightly-yml-deprecated-actions

Conversation

@dajiaohuang

Copy link
Copy Markdown

Update deprecated GitHub Actions in .github/workflows/nightly.yml:

  • actions/checkout@v2actions/checkout@v4 (v2 runs on Node 16 which is EOL since April 2024)
  • EndBug/latest-tag@latest → pinned SHA (mutable ref is a security risk, especially with ssh-key secret)

This matches the pinning pattern already used in autofix-pnpm.yml on the same repo.

Fixes #4512

- actions/checkout@v2 -> v4 (v2 runs on Node 16 EOL April 2024)
- EndBug/latest-tag@latest -> pinned SHA (mutable ref security risk)

Fixes TabbyML#4512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nightly.yml: deprecated actions/checkout@v2 + mutable EndBug/latest-tag@latest

1 participant