Skip to content

Commit

Permalink
[CI] Add label sync (JuliaLang#298)
Browse files Browse the repository at this point in the history
Use existing labels & copy JS label defs
  • Loading branch information
SaschaMann authored Jan 19, 2021
1 parent 38d68e6 commit ed3af4d
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
95 changes: 95 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
- name: "bug :bug:"
description: "Something isn't working"
color: "b60205"

- name: "chore :wrench:"
description: "Meta related task such as build, test, linting, maintainers.json etc."
color: "000000"

- name: "dependencies :arrow_up_small:"
description: "Pull requests that update a dependency file"
color: "0366d6"

- name: "discussion :speech_balloon:"
description: ""
color: "fbca04"

- name: "do not merge :construction:"
description: "Don't merge until this label is removed"
color: "fbca04"

- name: "documentation :book:"
description: "Documentation changes"
color: "1d76db"

- name: "duplicate :repeat:"
description: "This issue or pull request already exists"
color: "ffffff"

- name: "enhancement :unicorn:"
description: "Changing current behaviour, enhancing what's already there"
color: "a2eeef"

- name: "experimental :microscope:"
description: "Speculative functionality or implementation"
color: "b60205"

- name: "first-timers only :baby:"
description: "This issue is specifically for those who are new contributors."
color: "b1db51"

- name: "good first issue"
description: ""
color: "680a9b"

- name: "hacktoberfest"
description: "Hacktoberfest issues! Everyone allowed <3"
color: "000000"

- name: "hacktoberfest-accepted"
description: "Opt-in to hacktoberfest"
color: "4a4a4a"

- name: "help wanted"
description: ""
color: "680a9b"

- name: "invalid"
description: ""
color: "ffffff"

- name: "new exercise :sparkles:"
description: ""
color: "1105b7"

- name: "new test case :sparkles:"
description: ""
color: "1105b7"

- name: "pinned :pushpin:"
description: ""
color: "fbca04"

- name: "question :thinking:"
description: ""
color: "000000"

- name: "security :rotating_light:"
description: "Security related issue or change"
color: "b60205"

- name: "sync :arrows_counterclockwise:"
description: "Sync an exercise with the latest version of the problem-spec"
color: "1105b7"

- name: "upstream :arrow_up:"
description: ""
color: "ffffff"

- name: "wontfix :no_good_woman:"
description: "This won't be applied, fixed, worked on, continued."
color: "ffffff"

- name: "config change :gear:"
description: Changes to the track or exercise configs"
color: "ededed"
21 changes: 21 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tools

on:
push:
branches: [main]
paths:
- .github/labels.yml
- .github/workflows/sync-labels.yml
schedule:
- cron: 6 6 6 * *
workflow_dispatch:

jobs:
sync-labels:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # 2.3.4
- uses: micnncim/action-label-syncer@0e9c5104859d0e78219af63791636eba42382b5d # 1.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ed3af4d

Please sign in to comment.