From e7a617a9b82f5f6ae38075eedfc75692d6661f84 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Fri, 19 Apr 2024 17:19:06 +0200 Subject: [PATCH] .github/workflows: replace issue labeler action Signed-off-by: Patrik Oldsberg --- .github/issue-labeler.yml | 10 ++++++++++ .github/workflows/issue.yaml | 10 ++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .github/issue-labeler.yml diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml new file mode 100644 index 0000000000..848309f88d --- /dev/null +++ b/.github/issue-labeler.yml @@ -0,0 +1,10 @@ +area:techdocs: + - '/(techdocs|tech-docs|tech docs)/i' +area:discoverability: + - '/search/i' +area:catalog: + - '/catalog/i' +area:scaffolder: + - '/scaffolder/i' +area:permission: + - '/permission/i' diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml index bacf2d82f1..1a275eeb93 100644 --- a/.github/workflows/issue.yaml +++ b/.github/workflows/issue.yaml @@ -14,5 +14,11 @@ jobs: with: egress-policy: audit - - name: Issue sync - uses: backstage/actions/issue-sync@caa4901322ee3b5af18814ffc837bd052f150073 # v0.6.6 + - name: Add issue labels + uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4 + with: + include-title: 1 + include-body: 0 + configuration-path: .github/labeler.yml + not-before: 2024-04-19T15:03:51Z + repo-token: '${{ secrets.GITHUB_TOKEN }}'