Skip to content

Commit

Permalink
ci: improve labels workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 12, 2023
1 parent 69f3327 commit 62c6c10
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 1 addition & 7 deletions .github/labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"name": "Build | Project System",
"color": "99AAAA",
"description": "Compiling and Packaging",
"aliases": []
"aliases": ["Rust"]
},
{
"name": "Cannot Reproduce",
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Manage Labels
name: Labels
on:
workflow_dispatch:
push:
Expand All @@ -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

Expand Down

0 comments on commit 62c6c10

Please sign in to comment.