From 3209d62ae751da63a38237666d6706ab7c9f0006 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Thu, 24 Oct 2024 12:15:10 -0400 Subject: [PATCH] feat(ci): use meta lint-sync workflow to sync linter config 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. --- .github/workflows/lint-sync.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint-sync.yml diff --git a/.github/workflows/lint-sync.yml b/.github/workflows/lint-sync.yml new file mode 100644 index 0000000000..ecf8580246 --- /dev/null +++ b/.github/workflows/lint-sync.yml @@ -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