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 Issue Templates and Automation #722

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

makubacki
Copy link
Member

@makubacki makubacki commented Jan 7, 2025

Brings edk2-platforms GitHub issues into parity with edk2.


.github: Add GitHub issue templates

REF: tianocore/edk2#5926

Adds GitHub form isssue templates for bugs, documentation requests,
and feature requests.

These files define the form structure in YAML to be rendered by
GitHub in the edk2-platforms repo issues area.

Due to the large amount of diverse content on edk2-platforms an
attempt was made to classify code areas in the best way for the
current organization of the code path in the tree. Please suggest
any corrections in the PR.


.github: Add issue automation workflows

REF: tianocore/edk2#5926

Adds workflows to manage labels on issues based on issue content.

This uses the same flow as already used for issues in the edk2 repo.

Workflows:

  • issue-assignment - Performs actions when an issue is assigned.
    • Currently, removes the state:needs-owner label.
  • issue-triage - Assigns initial labels to the issue based on data
    entered when the issue was created.
  • scheduled-maintenance - Runs every hour to perform clean up work
    need on issues.
    • Currently, closes issues that have had the state:wont-fix label
      applied.

Tested on my edk2-platforms fork.

@makubacki makubacki force-pushed the add_gh_issue_templates branch from 8ace595 to b06aab1 Compare January 9, 2025 16:16
REF:tianocore/edk2#5926

Adds GitHub form isssue templates for bugs, documentation requests,
and feature requests.

These files define the form structure in YAML to be rendered by
GitHub in the edk2-platforms repo issues area.

Due to the large amount of diverse content on edk2-platforms an
attempt was made to classify code areas in the best way for the
current organization of the code path in the tree. Please suggest
any corrections in the PR.

Signed-off-by: Michael Kubacki <[email protected]>
REF: tianocore/edk2#5926

Adds workflows to manage labels on issues based on issue content.

This uses the same flow as already used for issues in the edk2 repo.

Workflows:

- `issue-assignment` - Performs actions when an issue is assigned.
  - Currently, removes the `state:needs-owner` label.
- `issue-triage` - Assigns initial labels to the issue based on data
  entered when the issue was created.
  - The policies for applying labels are defined in
    - `advanced-issue-labeler.yml`
	- Note: Based on https://github.com/marketplace/actions/advanced-issue-labeler
- `scheduled-maintenance` - Runs every hour to perform clean up work
  need on issues.
  - Currently, closes issues that have had the `state:wont-fix` label
    applied.

Signed-off-by: Michael Kubacki <[email protected]>
@makubacki makubacki force-pushed the add_gh_issue_templates branch from b06aab1 to 80715c7 Compare January 16, 2025 00:40
@makubacki
Copy link
Member Author

@mdkinney & @leiflindholm, I've made updates per feedback. Please review again when you have time.

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