Skip to content

Commit

Permalink
feat: test label sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelesh Goel committed Jan 23, 2025
1 parent 7403a69 commit 9513fad
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
- name: breaking
color: "b60205"
description: This change is not backwards compatible
- name: bug
color: "d93f0b"
description: Something isn't working
- name: documentation
color: "0075ca"
description: Improvements or additions to documentation
- name: enhancement
color: "0e8a16"
description: New feature or request
- name: feature
color: "0e8a16"
description: New feature or request
- name: fix
color: "d93f0b"
description: Something isn't working
- name: misc
color: "6b93d3"
description: Miscellaneous task not covered by something else
- name: no-changelog
color: "cccccc"
description: No entry should be added to the release notes and changelog
- name: security
color: "5319e7"
description: Solving a security issue
28 changes: 28 additions & 0 deletions .github/workflows/label-synchronization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: label-synchronization
on:
workflow_dispatch:
push:
branches:
- '**'

Check failure on line 6 in .github/workflows/label-synchronization.yaml

View workflow job for this annotation

GitHub Actions / Lint YAML files

6:8 [indentation] wrong indentation: expected 6 but found 7
paths:
- .github/labels.yaml
- .github/workflows/label-sync.yaml

permissions:
# write permission is required to edit issue labels
issues: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Synchronize labels
uses: crazy-max/ghaction-github-labeler@v5
with:
dry-run: false
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-delete: false
yaml-file: .github/labels.yaml

0 comments on commit 9513fad

Please sign in to comment.