feat: initial version of GitHub webhook impulse #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Label Sync | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '.github/labels.yml' | |
| - '.github/workflows/label-sync.yml' | |
| jobs: | |
| sync-labels: | |
| name: Sync Repository Labels | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| issues: write | |
| steps: | |
| - name: Clone the code | |
| uses: actions/checkout@v6 | |
| - name: Sync labels from .github/labels.yml | |
| uses: micnncim/action-label-syncer@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| manifest: .github/labels.yml |