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

Automatically add issues in protocol and TC repos to their GitHub projects #182

Open
magnusbaeck opened this issue Aug 24, 2023 · 2 comments
Assignees

Comments

@magnusbaeck
Copy link
Member

Description

The TC and protocol maintainers use GitHub projects to track incoming and ongoing tasks in projects but currently rely on manually adding issues to the projects. Let's automate this with actions/add-to-project.

Specifically,

  • new issues in TC-owned repositories (at least community, eiffel-sepia, eiffel-repository-template) should be added to the Technical Committee Tasks project, and
  • new issues in the protocol repository should be added to the Eiffel Protocol project.

Motivation

See Benefits.

Exemplification

N/A

Benefits

  • Decreased risk of forgetting issues.
  • Easier to prioritize them.

Possible Drawbacks

None.

@magnusbaeck magnusbaeck self-assigned this Aug 24, 2023
@magnusbaeck
Copy link
Member Author

It turns out that GitHub's project feature has a built-in auto-add workflow that you can enable via point-and-click, but unless you have GitHub Enterprise you can only have one such workflow per project and only one repository per workflow. I've configured the Eiffel Protocol project to add issues from the protocol repo but for the TC project we'll have to add a workflow that uses actions/add-to-project.

@magnusbaeck
Copy link
Member Author

Also, the default GITHUB_TOKEN token is only repository-scoped, and getting a token that allows you to add issues to a project requires either a PAT or a GitHub App. Creating and adding a PAT for this doesn't feel quite right.

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

No branches or pull requests

1 participant