From 1ab5e19283b03380ac1c677ef62720fb159c3427 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Wed, 10 Aug 2022 13:04:05 +0300 Subject: [PATCH] added assign-on-label.yml --- .github/workflows/assign-on-label.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/assign-on-label.yml diff --git a/.github/workflows/assign-on-label.yml b/.github/workflows/assign-on-label.yml new file mode 100644 index 00000000000..2c856d27dcc --- /dev/null +++ b/.github/workflows/assign-on-label.yml @@ -0,0 +1,15 @@ +name: "Add Assignee when is labeled with 'A: In progress'" + +on: + issues: + types: [labeled] + +jobs: + remove_label: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + console.log(context)