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

Implement KSM to pull a PAT for commits in format.yml #2011

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

nathanw-mlc
Copy link
Member

This PR updates the format.yml workflow to use a PAT to make automated commits rather than a SSH key. The SSH key method is specifically designed for making commits that bypass branch protections. The format.yml workflow does not need to bypass branch protections and instead needs a PAT to address the fact that the implicitly invoked GITHUB_TOKEN will not trigger other workflow runs, namely the CLA-bot, as seen in this open PR.

The modified version of format.yml in this PR uses Keeper Secrets Manager (KSM) to pull the mlcommons-bot PAT from Keeper. Our Keeper infrastructure handles the centralized management of keys, including automatic re-rolling of keys on demand and at regular intervals.

Copy link

github-actions bot commented Jan 2, 2025

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@arjunsuresh arjunsuresh merged commit b9f22d6 into master Jan 2, 2025
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants