Skip to content

Commit

Permalink
feat(workflow): add labels (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
robocopklaus authored Aug 7, 2024
1 parent cabb254 commit 29bae96
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- name: content
color: ffa69e
description: Issues related to the creation, updating, or management of content
- name: dependencies
color: 26547c
description: Pull requests that update dependency files, ensuring all packages and libraries are up-to-date
- name: dev
color: faf3dd
description: Issues involving development tasks or code implementation, including bug fixes, feature additions, and code refactoring
- name: javascript
color: ffd166
description: Pull requests that involve updates or changes to JavaScript code, affecting front-end functionalities and scripts
- name: php
color: 06d6a0
description: Pull requests that involve updates or changes to PHP code, impacting back-end functionalities and server-side scripts
- name: released
color: ef476f
description: Issues that have been addressed and released by semantic release
- name: ui
color: b8f2e6
description: Issues related to the design or modification of user interface elements, focusing on visual aspects and user interaction design
- name: ux
color: aed9e0
description: Issues aimed at enhancing the user experience, addressing usability, accessibility, and overall user satisfaction
31 changes: 31 additions & 0 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Sync Labels

on:
push:
branches:
- main
paths:
- .github/labels.yml
schedule:
- cron: "34 5 * * *"
workflow_call:
workflow_dispatch:

jobs:
sync_labels:
name: Sync Labels
runs-on: ubuntu-latest

steps:
- name: Download Latest Label Definitions
run: |
curl -s --retry 5 \
"https://raw.githubusercontent.com/21stdigital/workflows/main/.github/labels.yml" \
-o labels.yml
- name: Run Label Syncer
uses: micnncim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: labels.yml

0 comments on commit 29bae96

Please sign in to comment.