From d4d54e59bcf6fb981de3f6bfa757764a57ca883c Mon Sep 17 00:00:00 2001 From: Benedikt Volkel Date: Fri, 23 Feb 2024 14:20:53 +0100 Subject: [PATCH] Add asyn-label workflows for PRs --- .github/workflows/async-auto-label.yml | 20 ++++++++++++++++++++ .github/workflows/async-list-label.yml | 20 ++++++++++++++++++++ 2 files changed, 40 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..46cbfcded --- /dev/null +++ b/.github/workflows/async-auto-label.yml @@ -0,0 +1,20 @@ +--- +name: Apply requested async label + +'on': + pull_request: + types: + - opened + - reopened + branches: + - master + +permissions: + pull-requests: write # to update labels + +jobs: + clean: + 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..dde82ab06 --- /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: + clean: + name: Collect and print async labels + uses: alisw/ali-bot/.github/workflows/async-list-label.yml@master + permissions: + pull-requests: write # to update labels