From a87d5ab675183063ab3189c4711e152920d4cbaa Mon Sep 17 00:00:00 2001 From: Gabriel Mocanu Date: Sun, 30 Jul 2023 14:20:10 +0300 Subject: [PATCH] task: Add labeler pipeline Add labeler pipeline Signed-off-by: Gabriel Mocanu --- .github/labeler.yml | 3 +++ .github/workflows/labeler.yml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..c907519 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +area/infra: + - 'common/**/*' + - '.github/**/*' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..6b75389 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,16 @@ +name: Labeler Workflow + +on: + schedule: + - cron: "0 */12 * * *" + workflow_dispatch: + +jobs: + labeler: + name: Labeler + runs-on: ubuntu-latest + steps: + - name: Labeler + uses: security-summer-school/actions/cron-labeler@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}