Skip to content

Conversation

Ayesh
Copy link
Member

@Ayesh Ayesh commented Nov 24, 2024

We have a "Category: CI" label in GH issues and PRs, but there is no labeler rule to automatically mark PRs as such.

This adds a labeler rule to automatically add the "Category: CI" label if the PR changes any file in:

  • .circleci/*
  • .github/actions/**/*
  • .github/CODEOWNERS
  • .github/setup_hmailserver.php
  • .github/nightly_matrix.php
  • .github/scripts/*
  • .github/scripts/**/*
  • .github/labeler.yml
  • .github/workflows/*

We have a "Category: CI" label in GH issues and PRs, but there is no
labeler rule to automatically mark PRs as such.

This adds a labeler rule to automatically add the "Category: CI" label
if the PR changes _any_ file in:

  - .circleci/*
  - .github/actions/**/*
  - .github/CODEOWNERS
  - .github/setup_hmailserver.php
  - .github/nightly_matrix.php
  - .github/scripts/*
  - .github/scripts/**/*
  - .github/labeler.yml
  - .github/workflows/*
@Ayesh Ayesh requested a review from TimWolla as a code owner November 24, 2024 14:24
- any-glob-to-any-file:
- .circleci/*
- .github/actions/**/*
- .github/CODEOWNERS
Copy link
Member

Choose a reason for hiding this comment

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

If we consider this to be CI, we might as well consider anything in .github/ to be CI. The only exceptions I'm seeing right now are lsan-suppressions.txt and labeler.yml itself.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was trying to exclude ISSUE_TEMPLATE folder and potentially future files like funding, code of conduct, etc files that are merely templates.

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