Skip to content

Conversation

@ashishkurmi
Copy link
Contributor

The following GitHub Actions workflow execution logs demonstrates that the GitHub Action token permissions are elevated:
https://github.com/jquery/jquery-ui/actions/runs/3218073141/jobs/5261823755#step:1:19

This PR fixes the issue.

In addition to this PR, if you have repo admin access, then you should consider setting the following permission so that new workflow files will default to read-only permissions
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository

Signed-off-by: Ashish Kurmi akurmi@stepsecurity.io

Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

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

Thank you!

@mgol mgol added this to the 1.13.3 milestone Dec 1, 2022
@mgol mgol merged commit 970a0cf into jquery:main Dec 1, 2022
@mgol
Copy link
Member

mgol commented Dec 1, 2022

I also set the default permissions to read-only for jQuery, jQuery UI, jQuery Migrate and also at the jQuery organization level.

Thanks for the heads-up!

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

2 participants