Skip to content
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

Set permissions for GitHub actions #2442

Merged
merged 1 commit into from Apr 14, 2022

Conversation

neilnaveen
Copy link
Contributor

- 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>
@vercel
Copy link

vercel bot commented Apr 14, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

marked-website – ./

🔍 Inspect: https://vercel.com/markedjs/marked-website/4o6n4w4eWiptb9ZKdDkRWtqfB7u7
✅ Preview: https://marked-website-git-fork-turrisxyz-naveen-featse-c1e6b3-markedjs.vercel.app

markedjs – ./

🔍 Inspect: https://vercel.com/markedjs-legacy/markedjs/2ELoAE2yBftAXXhTjPKccPg9kCFW
✅ Preview: https://markedjs-git-fork-turrisxyz-naveen-feats-79829d-markedjs-legacy.vercel.app

Copy link
Member

@UziTech UziTech left a comment

Choose a reason for hiding this comment

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

LGTM

@UziTech UziTech merged commit 801be0e into markedjs:master Apr 14, 2022
@github-actions
Copy link

github-actions bot commented May 2, 2022

🎉 This PR is included in version 4.0.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants