10 Commits

Author SHA1 Message Date
cor3ntin
6c8243060d
[Github] Use our own issue labeler fork (#65900)
- Only adds 'new issue' if no other label is added
(https://github.com/llvm/llvm-project/issues/65701)

- No not add labels if labels were already set
- Only add `foo` if there are no `foo:bar` label being added (although,
we don't use that yet)

Fixes #65701
2023-09-15 18:14:11 +02:00
Corentin Jabot
836f2470fb [Github] Move the issue labeler data out of workflows
To avoid it being considered a workflow script.
2023-09-05 15:10:42 +02:00
cor3ntin
3301edf45d
[Github] Improve automatic new issue labelling (#65309)
This patch:
* Replaces `andymckay/labeler` which does not appear to be maintained by
github official solution
* Removes the closed issue workflow which was disabled a few years ago
and never fixed.
* Adds a few rules to add label based on PR title, hopefully that can
make triaging simpler. If that turns out to be useful, we can consider
adding more rules for backends, etc. We could technically also pattern
match the body of the issue but I'm concerned about trying to be _too_
clever.

The new system is only triggered on PR open so manual labels should not
be removed.
2023-09-05 14:53:56 +02:00
Joyce Brum
829b8912cd feat: harden permissions for all github workflows
Signed-off-by: Joyce Brum <joycebrum@google.com>

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D144119
2023-03-03 21:34:27 -08:00
Mohammed Keyvanzadeh
7e5f75aa37
[github] format and refactor GitHub workflows
Format and refactor the GitHub workflow for consistency.

Differential Revision: https://reviews.llvm.org/D125197
2022-06-11 11:31:21 +04:30
Alexander Batashev
84f2ef2f29 Disable issue labeler in LLVM forks
LLVM forks may use GitHub Actions as well as the upstream projects,
but they do not necessarily follow the same development processes.
Disable automatic issue labeling for forks, so that it does not
interfere with downstream repo automation.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D115708
2021-12-14 20:02:54 +03:00
Anton Korobeynikov
8f64b5fd50
Use "new issue" label for tagging new issues
Apparently "help wanted" has some additional special meaning
2021-12-12 13:38:26 -08:00
Anton Korobeynikov
c16ced9937 Version bump 2021-12-12 12:58:52 +03:00
Anton Korobeynikov
f3c91b4f38 Try another labeler implementation 2021-12-12 12:54:29 +03:00
Anton Korobeynikov
5ccfb73756 Autolabel new issues 2021-12-12 12:46:21 +03:00