diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000000..a1bb127bd2e --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,39 @@ +- color: d73a4a + description: Something isn't working + name: bug +- color: e5c420 + description: "" + name: core +- color: 0366d6 + description: Pull requests that update a dependency file + name: dependencies +- color: 0075ca + description: Improvements or additions to documentation + name: documentation +- color: cfd3d7 + description: This issue or pull request already exists + name: duplicate +- color: a2eeef + description: New feature or request + name: enhancement +- color: 7057ff + description: Good for newcomers + name: good first issue +- color: "008672" + description: Extra attention is needed + name: help wanted +- color: e4e669 + description: This doesn't seem right + name: invalid +- color: 50e087 + description: "" + name: new-rule +- color: d876e3 + description: Further information is requested + name: question +- color: f78ff0 + description: "" + name: waiting-for-release +- color: ffffff + description: This will not be worked on + name: wontfix \ No newline at end of file diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml new file mode 100644 index 00000000000..3006f72d476 --- /dev/null +++ b/.github/workflows/github.yml @@ -0,0 +1,18 @@ +name: Sync labels +on: + push: + branches: + - master + paths: + - .github/labels.yml +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: micnncim/action-label-syncer@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + manifest: .github/labels.yml + prune: false