From 62c6c10d98f224564685e43d5d7e5801a4adddef Mon Sep 17 00:00:00 2001 From: Cameron Garnham Date: Thu, 12 Oct 2023 08:40:44 +0200 Subject: [PATCH] ci: improve labels workflow --- .github/dependabot.yaml | 6 ++++++ .github/labels.json | 8 +------- .github/workflows/labels.yaml | 6 ++++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 8f36cb69..becfbc1d 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -5,9 +5,15 @@ updates: schedule: interval: daily target-branch: "develop" + labels: + - "Continuous Integration" + - "Dependencies" - package-ecosystem: cargo directory: / schedule: interval: daily target-branch: "develop" + labels: + - "Build | Project System" + - "Dependencies" diff --git a/.github/labels.json b/.github/labels.json index 25831d61..3b8a2af4 100644 --- a/.github/labels.json +++ b/.github/labels.json @@ -39,7 +39,7 @@ "name": "Build | Project System", "color": "99AAAA", "description": "Compiling and Packaging", - "aliases": [] + "aliases": ["Rust"] }, { "name": "Cannot Reproduce", @@ -215,12 +215,6 @@ "description": "This Looks Good", "aliases": [] }, - { - "name": "Rust", - "color": "000000", - "description": "Pull requests that update Rust code", - "aliases": [] - }, { "name": "Security", "color": "650606", diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index 728b2e68..4d049eb0 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -1,4 +1,4 @@ -name: Manage Labels +name: Labels on: workflow_dispatch: push: @@ -9,14 +9,16 @@ on: jobs: export: + name: Export Existing Labels runs-on: ubuntu-latest steps: - id: backup - name: Export Labels to Workflow Artifacts + name: Export to Workflow Artifact uses: EndBug/export-label-config@v1 sync: + name: Synchronize Labels from Repo needs: export runs-on: ubuntu-latest