From 4597b36355b914a01f43b7b82ce2797fc7a4d43f Mon Sep 17 00:00:00 2001 From: Martin Kozlovsky Date: Wed, 9 Oct 2024 10:18:04 +0200 Subject: [PATCH] moved assigner and labeler to a separate workflow --- .github/workflows/add-metadata.yaml | 29 +++++++++++++++++++++++++++++ .github/workflows/ci.yaml | 19 ------------------- 2 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/add-metadata.yaml diff --git a/.github/workflows/add-metadata.yaml b/.github/workflows/add-metadata.yaml new file mode 100644 index 00000000..41b152a7 --- /dev/null +++ b/.github/workflows/add-metadata.yaml @@ -0,0 +1,29 @@ +name: Metadata + +on: + pull_request: + +permissions: + pull-requests: write + contents: write + checks: write + +jobs: + assigner: + runs-on: ubuntu-latest + steps: + - name: Auto-assign + uses: toshimaru/auto-author-assign@v2.1.1 + + labeler: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + + - name: Labeler + uses: actions/labeler@v5 + with: + configuration-path: .github/labeler.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0d7dbdc7..43b0d23a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,25 +16,6 @@ permissions: checks: write jobs: - assigner: - runs-on: ubuntu-latest - steps: - - name: Auto-assign - uses: toshimaru/auto-author-assign@v2.1.1 - - labeler: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - - - name: Labeler - uses: actions/labeler@v5 - with: - configuration-path: .github/labeler.yaml - pre-commit: runs-on: ubuntu-latest steps: