From 5be285164ca06ce9aeec2d934b530b851aff5f7b Mon Sep 17 00:00:00 2001 From: dessant Date: Thu, 6 May 2021 23:40:38 +0300 Subject: [PATCH] chore: update Label Actions --- .github/label-actions.yml | 15 +++++++-------- .github/workflows/label-actions.yml | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/label-actions.yml diff --git a/.github/label-actions.yml b/.github/label-actions.yml index 00f31cf..e80b8d2 100644 --- a/.github/label-actions.yml +++ b/.github/label-actions.yml @@ -1,10 +1,9 @@ # Configuration for Label Actions - https://github.com/dessant/label-actions -issues: - actions: - incomplete: - comment: > - @{issue-author}, the issue does not contain enough information - to reproduce the bug. Please open a new bug report and fill out - the issue template with the requested data. - close: true +incomplete: + issues: + comment: > + @{issue-author}, the issue does not contain enough information + to reproduce the bug. Please open a new bug report and fill out + the issue template with the requested data. + close: true diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml new file mode 100644 index 0000000..16c6925 --- /dev/null +++ b/.github/workflows/label-actions.yml @@ -0,0 +1,18 @@ +name: 'Label Actions' + +on: + issues: + types: [labeled, unlabeled] + pull_request: + types: [labeled, unlabeled] + +permissions: + contents: read + issues: write + pull-requests: write + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/label-actions@v2