forked from kevb34ns/auto-comment-blocks
-
Notifications
You must be signed in to change notification settings - Fork 1
23 lines (23 loc) · 776 Bytes
/
setup-labels.yml
File metadata and controls
23 lines (23 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Setup Labels
on:
workflow_dispatch:
push:
paths:
- ".github/workflows/setup-labels.yml"
permissions:
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
# Setup (and sync) labels - Auto create and update labels for PRs based on a
# config file defining the labels.
- name: Setup labels
uses: julbme/gh-action-manage-label@v1
with:
# Global config in my profile repo: https://github.com/yCodeTech/yCodeTech
from: https://raw.githubusercontent.com/yCodeTech/yCodeTech/refs/heads/master/.github/config/labels.json
# Don't delete existing labels that are not in the config file.
skip_delete: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}