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.
14 lines
271 B
YAML
14 lines
271 B
YAML
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
|