Skip to content

Commit

Permalink
ci: add label sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3S4mur41 committed Dec 2, 2024
1 parent 4c33171 commit ffb3b95
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sync labels
on:
# Allows you to call this workflow from other workflows
workflow_call:
secrets:
NPM_TOKEN:
required: false

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Schedule this to run every 24 hours
schedule:
- cron: '0 0 * * *'

permissions:
contents: read

jobs:
labels:
runs-on: [self-hosted, linux]

permissions:
issues: write

steps:
- uses: EndBug/label-sync@v2
with:
config-file: https://raw.githubusercontent.com/eviden-parallel/.github/main/.github/labels.yml
delete-other-labels: true

0 comments on commit ffb3b95

Please sign in to comment.