Skip to content

Commit

Permalink
feat(ci): use meta lint-sync workflow to sync linter config
Browse files Browse the repository at this point in the history
This adds a new workflow that runs manually or every week to sync the
linter configuration from the meta repo. It will simply open a PR with
the changes, which can be reviewed and merged as needed.
  • Loading branch information
aymanbagabas committed Oct 24, 2024
1 parent fc066c0 commit 3209d62
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: lint-sync
on:
schedule:
# every Sunday at midnight
- cron: "0 0 * * 0"
workflow_dispatch: # allows manual triggering

permissions:
contents: write
pull-requests: write

jobs:
lint:
uses: charmbracelet/meta/.github/workflows/lint-sync.yml@main

0 comments on commit 3209d62

Please sign in to comment.