? Pending

User tests: Successful: Unsuccessful:

avatar varunsh-coder
varunsh-coder
11 Jul 2022

Summary of Changes

This PR adds minimum token permissions for the GITHUB_TOKEN using https://github.com/step-security/secure-workflows.

GitHub recommends defining minimum GITHUB_TOKEN permissions for securing GitHub Actions workflows

This project is part of the top 100 critical projects as per OpenSSF (https://github.com/ossf/wg-securing-critical-projects), so fixing the token permissions to improve security.

Signed-off-by: Varun Sharma varunsh@stepsecurity.io

Testing Instructions

N/A

Actual result BEFORE applying this Pull Request

GITHUB_TOKEN has all permissions
https://github.com/joomla/joomla-cms/runs/7143497554?check_suite_focus=true#step:1:16

Expected result AFTER applying this Pull Request

GITHUB_TOKEN will have minimum permissions needed

Documentation Changes Required

N/A

avatar varunsh-coder varunsh-coder - open - 11 Jul 2022
avatar varunsh-coder varunsh-coder - change - 11 Jul 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2022
Category Repository
avatar zero-24
zero-24 - comment - 11 Jul 2022

Looks good to me @wilsonge can you please double check here?

avatar wilsonge wilsonge - change - 12 Jul 2022
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-07-12 08:32:37
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 12 Jul 2022
avatar wilsonge wilsonge - merge - 12 Jul 2022
avatar wilsonge
wilsonge - comment - 12 Jul 2022

LGTM. I'm not adding this to the release milestone as it just affects the .github directory. But feel free to overrule

avatar zero-24
zero-24 - comment - 12 Jul 2022

Thanks will assign to 3.10 as its a action that only runs for this release.

Add a Comment

Login with GitHub to post a comment