Skip to content

Commit

Permalink
chore: add label sync action (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomarra authored Feb 22, 2024
1 parent 9395d24 commit 62171ed
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
- name: very_good_core
- name: "product: very_good_core"
color: "31E6FF"
description: Changes that affect the Very Good Core template.
aliases: [very_good_core]

- name: very_good_dart_cli
- name: "product: very_good_dart_cli"
color: "03505A"
description: Changes that affect the Very Good Dart CLI template.
aliases: [very_good_dart_cli]

- name: very_good_dart_package
- name: "product: very_good_dart_package"
color: "008799"
description: Changes that affect the Very Good Dart Package template.
aliases: [very_good_dart_package]

- name: very_good_docs_site
- name: "product: very_good_docs_site"
color: "004699"
description: Changes that affect the Very Good Docs Site template.
aliases: [very_good_docs_site]

- name: very_good_flame_game
- name: "product: very_good_flame_game"
color: "990900"
description: Changes that affect the Very Good Flame Game template.
aliases: [very_good_flame_game]

- name: very_good_flutter_package
- name: "product: very_good_flutter_package"
color: "00C9C9"
description: Changes that affect the Very Good Flutter Package template.
aliases: [very_good_flutter_package]

- name: very_good_wear_app
- name: "product: very_good_wear_app"
color: "1B03AD"
description: Changes that affect the Very Good Wear App template.
aliases: [very_good_wear_app]
24 changes: 24 additions & 0 deletions .github/workflows/sync_labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ♻️ Sync Labels

on:
push:
paths:
- .github/labels.yml
branches:
- main
workflow_dispatch:

jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-20.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4

- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v1
with:
config-file: |
.github/labels.yml
https://raw.githubusercontent.com/VeryGoodOpenSource/.github/main/.github/labels.yml

0 comments on commit 62171ed

Please sign in to comment.