Skip to content

Overwriting permissions on security related jobs #5762

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

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

Kramer0x0
Copy link
Contributor

@Kramer0x0 Kramer0x0 commented Feb 2, 2024

What this PR does:

CodeQL is breaking in master branch because of the following errors: Error: Resource not accessible by integration. This PR adds the appropriate permissions for the job to be able to submit back to the security tab under the master branch. Our permission set is read-only by default, this overrides that specific behavior for this particular "Security" related job.

Looking at the job's setup - the security events is set to read, I believe this should be set to "Write". This is also why I believe it's not reporting the status to the Security Tab.

image

Which issue(s) this PR fixes:
Fixes #5761

Related Issue:
github/codeql#8843

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Ryan West <rwest2@apple.com>
@Kramer0x0
Copy link
Contributor Author

cc: @alanprot

@alanprot
Copy link
Member

alanprot commented Feb 3, 2024

Thanks!

@alanprot alanprot merged commit deb91a2 into cortexproject:master Feb 3, 2024
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.

Seems the CodeQL is breaking in master:
2 participants