Commit Graph

24 Commits

Author SHA1 Message Date
Tom Stellard a2adebf409 workflows: Make issue-subscriber more robust for labels with special characters
Also, replace the existing actionscript implementation with a python
script that can be run outside of GitHub Actions.  The intention is
that going forward, all github action functionality would be implemented
in this script.

Reviewed By: kwk

Differential Revision: https://reviews.llvm.org/D116762
2022-01-14 22:04:54 -08:00
Tom Stellard dd48c6aff9 github: Add action for automated issue notification
This adds a github action that will mention a team called issue-subscribers-$LABEL
whenever a label is added to a bug.  Mentioning the team will automatically
subscribe all team members to the bug.

Differential Revision: https://reviews.llvm.org/D114412
2022-01-05 10:36:29 -08:00
Anton Korobeynikov ea927b504b No need to checkout a repo 2021-12-17 00:31:19 +03:00
Anton Korobeynikov 764f96cb3b Send to llvm-bugs 2021-12-17 00:30:35 +03:00
Anton Korobeynikov 2528557787 Install test mailer for github bugs 2021-12-17 00:26:21 +03:00
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
Anton Korobeynikov 686dca86bf Enable github issues 2021-12-11 12:13:33 +03:00
Anton Korobeynikov c0b40b96af Disable issues / pull requests via templates in preparation with migration 2021-12-01 21:43:22 +03:00
Alexander Batashev 84ccf0b891 Disable lockdown for external forks by default
GitHub Actions can be used in external forks, and this
workflow breaks all pull-requests for those who use both
GitHub Pull Requests and GitHub Actions.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D112801
2021-10-29 14:54:20 -07:00
Tom Stellard 3be1f4b8fd repo-lockdown: Add pr comment and fix typo 2021-10-18 14:31:44 -07:00
Tom Stellard 20d397f853 workflows: Migrate repo-lockdown to GitHub Actions
https://github.com/dessant/repo-lockdown/issues/6
2021-10-18 14:22:49 -07:00
Mike Edwards fe190cf6c9 Removing the main to master sync GitHub workflow. 2021-01-28 12:18:25 -08:00
Tom Stellard eefd420e00 [github] Move repo lockdown config into llvm-project repo
We were storing this in the .github repo and moving this into llvm-project
will allow us to delete the .github repo.
2021-01-11 16:20:08 -08:00
Mike Edwards 62ec4ac907 [PATCH] github actions: Pepare main branch for being read/write
Patch provided by Tom Stellard <tstellar@redhat.com>
2020-12-06 22:16:36 -08:00
Tom Stellard 91843f7949
github actions: Update branch_sync to push to main 2020-12-01 16:22:30 -08:00
Tom Stellard 4e85e0ca90
github actions: Use correct credentials for pushing 2020-11-30 12:25:43 -08:00
Tom Stellard c9eae09251
github actions: Use llvmbot token for main branch sync
The default github actions token cannot push to restricted branches, so we need to use a token from the llvmbot user.
2020-11-25 14:43:18 -08:00
Tom Stellard da886bf471 GitHub Actions: Add job for automatically updating the main branch
Differential Revision: https://reviews.llvm.org/D91554
2020-11-20 22:26:11 -08:00
Tom Stellard c3ab38eaa9 Revert Add github lockdown app to auto-close pull requests.
This reverts r364358 (git commit b37f2f3391)

Moving this file to a separate repository https://github.com/llvm/.github,
 so it doesn't pollute the main tree.  It also did not appear to be working.

llvm-svn: 364558
2019-06-27 16:23:26 +00:00
Tom Stellard b37f2f3391 Add github lockdown app to auto-close pull requests.
llvm-svn: 364358
2019-06-25 22:51:46 +00:00