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 }}'