Skip to content

Commit

Permalink
Add a GitHub Actions workflow to automatically sync the repository la…
Browse files Browse the repository at this point in the history
…bels.

This commit adds a `.github/workflow/sync-labels.yml` file, which defines a workflow that syncs this repository's labels with the contents of the `.github/labels.yml` file. The labels are synced automatically whenever the `.github/labels.yml` file changes.
  • Loading branch information
ErikSchierboom committed Jun 11, 2021
1 parent 823b64e commit 3e7842a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tools

on:
push:
branches: [main]
paths:
- .github/labels.yml
- .github/workflows/sync-labels.yml
schedule:
- cron: 6 6 6 * *
workflow_dispatch:

jobs:
sync-labels:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3e7842a

Please sign in to comment.