diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..9a62abe --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,9 @@ +- color: 495057 + name: automated pr + description: Pull requests created by GitHub Actions +- color: 0b7285 + name: dependencies + description: Pull requests that update dependencies +- color: 1864ab + name: sync-template + description: Pull requests that sync the template repository diff --git a/.github/workflows/update-pr-labels.yml b/.github/workflows/update-pr-labels.yml new file mode 100644 index 0000000..a5ba159 --- /dev/null +++ b/.github/workflows/update-pr-labels.yml @@ -0,0 +1,14 @@ +name: Update labels + +on: pull_request +jobs: + build: + name: Sync labels + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: micnncim/action-label-syncer@v0.3.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + manifest: .github/labels.yml