-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update server-build.yml #37702
Update server-build.yml #37702
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -344,7 +344,11 @@ jobs: | |||||||||||||||
git lfs pull ./server.jar | ||||||||||||||||
mv ./server.jar ../../../../../server.jar | ||||||||||||||||
cd ../../../../../ | ||||||||||||||||
tar -xzvf ./server.jar | ||||||||||||||||
# tar -xzvf ./server.jar | ||||||||||||||||
|
||||||||||||||||
- uses: actions/checkout@v2 | ||||||||||||||||
- name: Setup upterm session | ||||||||||||||||
uses: lhotari/action-upterm@v1 | ||||||||||||||||
Comment on lines
+350
to
+351
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restrict upterm session access Adding unrestricted upterm session access to the workflow runner poses a security risk. Consider:
- name: Setup upterm session
+ if: failure()
uses: lhotari/action-upterm@v1
+ with:
+ limit-access-to: appsmithorg/server-team 📝 Committable suggestion
Suggested change
|
||||||||||||||||
|
||||||||||||||||
# Restore the previous built bundle if present. If not push the newly built into the cache | ||||||||||||||||
- name: Restore the previous bundle | ||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update actions/checkout to v4
The checkout action version v2 is outdated. Other steps in this workflow are using v4, which includes important security updates and performance improvements.
📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.4)
349-349: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)