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

ci: add workflow to auto-add issues and PRs to projects #5070

Merged
merged 2 commits into from
Nov 5, 2022

Conversation

jdrueckert
Copy link
Member

@jdrueckert jdrueckert commented Aug 27, 2022

Contains

A new GitHub workflow based on https://github.com/marketplace/actions/assign-to-one-project that adds issues and PRs to project boards:

How to test

Tbh, I'm not entirely sure whether or not workflows can be tested before merging the PR introducing them... 🤔

Outstanding before merging

  • Check conditions in if: section for correctness
  • Consider necessity of more rules for other labels / label combinations

@jdrueckert jdrueckert added Category: Build/CI Requests, Issues and Changes targeting gradle, groovy, Jenkins, etc. Status: Needs Discussion Requires help discussing a reported issue or provided PR Type: Improvement Request for or addition/enhancement of a feature Size: S Small effort likely only affecting a single area and requiring little to no research labels Aug 27, 2022
column_name: 'Backlog'

- name: Assign issues and pull requests with `Type: Improvement` label to feature board backlog
uses: srggrs/assign-one-project-github-action@1.2.1
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to store the exact action in a variable and have that only once in the workflow? 🤔 would make updating the whole thing a bit easier, although running a regex over the file is not much harder tbh...

Copy link
Member Author

Choose a reason for hiding this comment

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

According to https://github.com/orgs/community/discussions/25246 this is not possible and intentionally so.

@jdrueckert jdrueckert merged commit 4ad7b68 into develop Nov 5, 2022
@jdrueckert jdrueckert deleted the ci/add-project-autoadd-workflow branch November 5, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Build/CI Requests, Issues and Changes targeting gradle, groovy, Jenkins, etc. Size: S Small effort likely only affecting a single area and requiring little to no research Status: Needs Discussion Requires help discussing a reported issue or provided PR Type: Improvement Request for or addition/enhancement of a feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants