Skip to content

[SL-ONLY] Change workflow token to use the PAT token with additionnal worklfow permissions#230

Merged
Mathieu Kardous (mkardous-silabs) merged 2 commits intomainfrom
fix/csa_update_workflow
Jan 24, 2025
Merged

[SL-ONLY] Change workflow token to use the PAT token with additionnal worklfow permissions#230
Mathieu Kardous (mkardous-silabs) merged 2 commits intomainfrom
fix/csa_update_workflow

Conversation

@mkardous-silabs
Copy link
Copy Markdown
Contributor

@mkardous-silabs Mathieu Kardous (mkardous-silabs) commented Jan 22, 2025

Description

For security reasons, the github token has no permissions to create or update workflows in a github action and there is no way to configure a workflow to give those permissions.

To do this, we had to create a PAT (Personnal access token) with the right permissions in the SiliconLabsSoftware org and use that token as a repository secret. The PAT can be re-used for multiple secrets.

Tests

Manual test

@mkardous-silabs Mathieu Kardous (mkardous-silabs) changed the title [SL-ONLY] Add action write permissions to the csa update workflow [SL-ONLY] Change workflow token to use the PAT token with additionnal worklfow permissions Jan 24, 2025
@mkardous-silabs Mathieu Kardous (mkardous-silabs) marked this pull request as ready for review January 24, 2025 16:12
@mkardous-silabs Mathieu Kardous (mkardous-silabs) deleted the fix/csa_update_workflow branch January 24, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants