From 045895f64490c42027828618818b5e3f5bbf3981 Mon Sep 17 00:00:00 2001 From: benedikt-voelkel Date: Fri, 23 Feb 2024 14:41:07 +0100 Subject: [PATCH] Add asyn-label workflows for PRs (#1489) * Add asyn-label workflows for PRs --------- Co-authored-by: Benedikt Volkel --- .github/workflows/async-auto-label.yml | 18 ++++++++++++++++++ .github/workflows/async-list-label.yml | 20 ++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/async-auto-label.yml create mode 100644 .github/workflows/async-list-label.yml diff --git a/.github/workflows/async-auto-label.yml b/.github/workflows/async-auto-label.yml new file mode 100644 index 000000000..8ec0659ca --- /dev/null +++ b/.github/workflows/async-auto-label.yml @@ -0,0 +1,18 @@ +--- +name: Apply requested async label + +'on': + issue_comment: + types: + - created + - edited + +permissions: + pull-requests: write # to update labels + +jobs: + apply_async_labels: + name: Apply requested async label + uses: alisw/ali-bot/.github/workflows/async-auto-label.yml@master + permissions: + pull-requests: write # to update labels diff --git a/.github/workflows/async-list-label.yml b/.github/workflows/async-list-label.yml new file mode 100644 index 000000000..97144b6b1 --- /dev/null +++ b/.github/workflows/async-list-label.yml @@ -0,0 +1,20 @@ +--- +name: Collect and print async labels + +'on': + pull_request: + types: + - opened + - reopened + branches: + - master + +permissions: + pull-requests: write # to update labels + +jobs: + list_async_labels: + name: Collect and print async labels + uses: alisw/ali-bot/.github/workflows/async-list-label.yml@master + permissions: + pull-requests: write # to update labels