FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: Set permissions for GitHub actions by neilnaveen · Pull Request #5090 · coder/code-server · GitHub

chore: Set permissions for GitHub actions - #5090

Merged
jsjoeio merged 2 commits into
coder:mainfrom
turrisxyz:naveen/feat/set-perms-actions
Apr 12, 2022
Merged

chore: Set permissions for GitHub actions#5090
jsjoeio merged 2 commits into
coder:mainfrom
turrisxyz:naveen/feat/set-perms-actions

Conversation

Copy link
Copy Markdown
Contributor

neilnaveen requested a review from a team April 12, 2022 13:12
jsjoeio changed the title Set permissions for GitHub actions chore: Set permissions for GitHub actions Apr 12, 2022

jsjoeio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for opening this and the detailed explanation!

I'll see if I can push a change to fix the formatting

jsjoeio commented Apr 12, 2022

Copy link
Copy Markdown
Contributor

Hmm...I tried pushing but it just created a new branch under our repo. @neilnaveen can you run yarn fmt locally?

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>

Copy link
Copy Markdown
Contributor Author

Hmm...I tried pushing but it just created a new branch under our repo. @neilnaveen can you run yarn fmt locally?

I have done that, Thanks.

jsjoeio enabled auto-merge (squash) April 12, 2022 18:43

codecov Bot commented Apr 12, 2022

Copy link
Copy Markdown

Codecov Report

Merging #5090 (13562ff) into main (fd2a031) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #5090   +/-   ##
=======================================
  Coverage   71.30%   71.30%           
=======================================
  Files          30       30           
  Lines        1683     1683           
  Branches      373      373           
=======================================
  Hits         1200     1200           
  Misses        413      413           
  Partials       70       70           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd2a031...13562ff. Read the comment docs.

jsjoeio merged commit f4569f0 into coder:main Apr 12, 2022
TinLe pushed a commit to TinLe/code-server that referenced this pull request Apr 23, 2022
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>

Co-authored-by: Joe Previte <jjprevite@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL