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

Add GitHub label workflow configuration #15

Merged

Conversation

ecalifornica
Copy link
Member

In response to issue #7, this change adds configuration for the current set of default Github labels, as well as the Github Action workflow configuration to update the labels.

This requires an update to the repository Actions permissions, adding Workflow write permissions for the GITHUB_TOKEN generated per workflow run. Without this permission the workflow will fail to update the labels.

You can modify the permissions for the GITHUB_TOKEN in individual workflow files. If the default permissions for the GITHUB_TOKEN are restrictive, you may have to elevate the permissions to allow some actions and commands to run successfully.

Link to permissions setting, to be changed by a repository admin: https://github.com/biocommons/biocommons.example/settings/actions

Screenshot of permissions change:
configuration_example

@ecalifornica ecalifornica requested a review from reece as a code owner August 25, 2023 00:05
Copy link
Member

@reece reece left a comment

Choose a reason for hiding this comment

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

Nice! Thanks @ecalifornica !

@reece reece merged commit 30d6a77 into biocommons:main Sep 9, 2023
5 checks passed
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.

2 participants