This causes issues when a release is published, because the build scripts create a new branch because of the new tag that gets automatically pushed by GitHub
20 lines
377 B
YAML
20 lines
377 B
YAML
name: Sync labels
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '.github/labels.yml'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync:
|
|
name: Run EndBug/label-sync
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: EndBug/label-sync@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
config-file: '.github/labels.yml'
|