From 58235a4517e71293d3aa957c6efc77742acb4aa3 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 12 Feb 2025 11:21:50 -0300 Subject: [PATCH 1/4] chore: add script to download current dependabot.yml files from repos --- .gitignore | 2 ++ dependabot/download-current.sh | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 dependabot/download-current.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c242d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +dependabot/current diff --git a/dependabot/download-current.sh b/dependabot/download-current.sh new file mode 100644 index 0000000..c3fb0c9 --- /dev/null +++ b/dependabot/download-current.sh @@ -0,0 +1,13 @@ +# NOTE(@andreynering): This is just a script to download dependabot.yml from +# many of our repos. I used it to compare the contents to see which of them +# were different from the base template. + +REPOS=$(gh repo list charmbracelet --visibility public --no-archived --limit 1000 --json "name,defaultBranchRef" -t '{{range .}}{{printf "%s %s\n" .name .defaultBranchRef.name}}{{end}}') + +rm -rf dependabot/current +mkdir -p dependabot/current + +while read -r repo branch; do + echo "Downloading $repo | $branch" + curl -s https://raw.githubusercontent.com/charmbracelet/${repo}/refs/heads/${branch}/.github/dependabot.yml > dependabot/current/${repo}.yml +done <<< "$REPOS" From 0f0c579fc8a325061bd110d6fb539e7840abec4c Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 12 Feb 2025 11:24:13 -0300 Subject: [PATCH 2/4] chore: add `dependabot-sync` action --- .github/workflows/dependabot-sync.yml | 45 +++++++++++++++++ dependabot/dependabot-bubbletea.yml | 54 +++++++++++++++++++++ dependabot/dependabot-colorprofile.yml | 54 +++++++++++++++++++++ dependabot/dependabot-huh.yml | 54 +++++++++++++++++++++ dependabot/dependabot-lipgloss.yml | 41 ++++++++++++++++ dependabot/dependabot-nur.yml | 10 ++++ dependabot/dependabot-soft-serve-action.yml | 18 +++++++ dependabot/dependabot-vhs-action.yml | 18 +++++++ dependabot/dependabot-wish.yml | 54 +++++++++++++++++++++ dependabot/dependabot.yml | 41 ++++++++++++++++ 10 files changed, 389 insertions(+) create mode 100644 .github/workflows/dependabot-sync.yml create mode 100644 dependabot/dependabot-bubbletea.yml create mode 100644 dependabot/dependabot-colorprofile.yml create mode 100644 dependabot/dependabot-huh.yml create mode 100644 dependabot/dependabot-lipgloss.yml create mode 100644 dependabot/dependabot-nur.yml create mode 100644 dependabot/dependabot-soft-serve-action.yml create mode 100644 dependabot/dependabot-vhs-action.yml create mode 100644 dependabot/dependabot-wish.yml create mode 100644 dependabot/dependabot.yml diff --git a/.github/workflows/dependabot-sync.yml b/.github/workflows/dependabot-sync.yml new file mode 100644 index 0000000..4445b3b --- /dev/null +++ b/.github/workflows/dependabot-sync.yml @@ -0,0 +1,45 @@ +name: dependabot-sync +on: + workflow_call: + +permissions: + contents: write + pull-requests: write + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + path: ${{ github.repository }} + + - uses: actions/checkout@v4 + with: + repository: ${{ github.repository_owner }}/meta + path: ${{ github.repository_owner }}/meta + + - run: | + DEPENDABOT_FILE="${{ github.repository_owner }}/meta/dependabot/dependabot-${{ github.event.repository.name }}.yml" + if [ ! -f $DEPENDABOT_FILE ]; then + DEPENDABOT_FILE="${{ github.repository_owner }}/meta/dependabot/dependabot.yml" + fi + cp $DEPENDABOT_FILE ${{ github.repository }}/dependabot.yml + + - name: Create Pull Request + id: cpr + uses: peter-evans/create-pull-request@v7 + with: + commit-message: "ci: sync dependabot config" + title: "ci: sync dependabot config" + body: | + This is an automated pull request to sync the Dependabot config with the meta repository. + branch: "ci/sync-dependabot-config" + delete-branch: true + path: "${{ github.repository }}" + + - name: Check outputs + if: ${{ steps.cpr.outputs.pull-request-number }} + run: | + echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" + echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" diff --git a/dependabot/dependabot-bubbletea.yml b/dependabot/dependabot-bubbletea.yml new file mode 100644 index 0000000..7cca018 --- /dev/null +++ b/dependabot/dependabot-bubbletea.yml @@ -0,0 +1,54 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/examples" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/tutorials" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" diff --git a/dependabot/dependabot-colorprofile.yml b/dependabot/dependabot-colorprofile.yml new file mode 100644 index 0000000..7cca018 --- /dev/null +++ b/dependabot/dependabot-colorprofile.yml @@ -0,0 +1,54 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/examples" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/tutorials" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" diff --git a/dependabot/dependabot-huh.yml b/dependabot/dependabot-huh.yml new file mode 100644 index 0000000..91c5901 --- /dev/null +++ b/dependabot/dependabot-huh.yml @@ -0,0 +1,54 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/examples" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/spinner" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" diff --git a/dependabot/dependabot-lipgloss.yml b/dependabot/dependabot-lipgloss.yml new file mode 100644 index 0000000..13ee1a5 --- /dev/null +++ b/dependabot/dependabot-lipgloss.yml @@ -0,0 +1,41 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "feat" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/example" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" diff --git a/dependabot/dependabot-nur.yml b/dependabot/dependabot-nur.yml new file mode 100644 index 0000000..904179b --- /dev/null +++ b/dependabot/dependabot-nur.yml @@ -0,0 +1,10 @@ +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" diff --git a/dependabot/dependabot-soft-serve-action.yml b/dependabot/dependabot-soft-serve-action.yml new file mode 100644 index 0000000..5d4538e --- /dev/null +++ b/dependabot/dependabot-soft-serve-action.yml @@ -0,0 +1,18 @@ +version: 2 + +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + + - package-ecosystem: npm + directory: / + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" diff --git a/dependabot/dependabot-vhs-action.yml b/dependabot/dependabot-vhs-action.yml new file mode 100644 index 0000000..5d4538e --- /dev/null +++ b/dependabot/dependabot-vhs-action.yml @@ -0,0 +1,18 @@ +version: 2 + +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + + - package-ecosystem: npm + directory: / + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" diff --git a/dependabot/dependabot-wish.yml b/dependabot/dependabot-wish.yml new file mode 100644 index 0000000..1accdc6 --- /dev/null +++ b/dependabot/dependabot-wish.yml @@ -0,0 +1,54 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "gomod" + directory: "/examples" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" diff --git a/dependabot/dependabot.yml b/dependabot/dependabot.yml new file mode 100644 index 0000000..cbc9aa4 --- /dev/null +++ b/dependabot/dependabot.yml @@ -0,0 +1,41 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "chore" + include: "scope" + + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "America/New_York" + labels: + - "dependencies" + commit-message: + prefix: "feat" + include: "scope" From ee289fb26d9e088e93fa17bbf92f17b1814f6a26 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 12 Feb 2025 15:20:40 -0300 Subject: [PATCH 3/4] chore(dependabot): keep only specific config on repository files --- .github/workflows/dependabot-sync.yml | 6 +-- dependabot/dependabot-bubbletea.yml | 28 -------------- dependabot/dependabot-colorprofile.yml | 28 -------------- dependabot/dependabot-huh.yml | 28 -------------- dependabot/dependabot-lipgloss.yml | 28 -------------- dependabot/dependabot-nur.yml | 10 ----- dependabot/dependabot-soft-serve-action.yml | 10 ----- dependabot/dependabot-vhs-action.yml | 10 ----- dependabot/dependabot-wish.yml | 41 --------------------- 9 files changed, 3 insertions(+), 186 deletions(-) delete mode 100644 dependabot/dependabot-nur.yml diff --git a/.github/workflows/dependabot-sync.yml b/.github/workflows/dependabot-sync.yml index 4445b3b..9ae94ab 100644 --- a/.github/workflows/dependabot-sync.yml +++ b/.github/workflows/dependabot-sync.yml @@ -20,11 +20,11 @@ jobs: path: ${{ github.repository_owner }}/meta - run: | + cp "${{ github.repository_owner }}/meta/dependabot/dependabot.yml" "${{ github.repository }}/dependabot.yml" DEPENDABOT_FILE="${{ github.repository_owner }}/meta/dependabot/dependabot-${{ github.event.repository.name }}.yml" - if [ ! -f $DEPENDABOT_FILE ]; then - DEPENDABOT_FILE="${{ github.repository_owner }}/meta/dependabot/dependabot.yml" + if [ -f "$DEPENDABOT_FILE" ]; then + cat "$DEPENDABOT_FILE" >> "${{ github.repository }}/dependabot.yml" fi - cp $DEPENDABOT_FILE ${{ github.repository }}/dependabot.yml - name: Create Pull Request id: cpr diff --git a/dependabot/dependabot-bubbletea.yml b/dependabot/dependabot-bubbletea.yml index 7cca018..0b5bbac 100644 --- a/dependabot/dependabot-bubbletea.yml +++ b/dependabot/dependabot-bubbletea.yml @@ -1,18 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" - package-ecosystem: "gomod" directory: "/examples" @@ -39,16 +24,3 @@ updates: commit-message: prefix: "chore" include: "scope" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" diff --git a/dependabot/dependabot-colorprofile.yml b/dependabot/dependabot-colorprofile.yml index 7cca018..0b5bbac 100644 --- a/dependabot/dependabot-colorprofile.yml +++ b/dependabot/dependabot-colorprofile.yml @@ -1,18 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" - package-ecosystem: "gomod" directory: "/examples" @@ -39,16 +24,3 @@ updates: commit-message: prefix: "chore" include: "scope" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" diff --git a/dependabot/dependabot-huh.yml b/dependabot/dependabot-huh.yml index 91c5901..7bec00b 100644 --- a/dependabot/dependabot-huh.yml +++ b/dependabot/dependabot-huh.yml @@ -1,18 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" - package-ecosystem: "gomod" directory: "/examples" @@ -39,16 +24,3 @@ updates: commit-message: prefix: "chore" include: "scope" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" diff --git a/dependabot/dependabot-lipgloss.yml b/dependabot/dependabot-lipgloss.yml index 13ee1a5..2d943b1 100644 --- a/dependabot/dependabot-lipgloss.yml +++ b/dependabot/dependabot-lipgloss.yml @@ -1,18 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "feat" - include: "scope" - package-ecosystem: "gomod" directory: "/example" @@ -26,16 +11,3 @@ updates: commit-message: prefix: "chore" include: "scope" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" diff --git a/dependabot/dependabot-nur.yml b/dependabot/dependabot-nur.yml deleted file mode 100644 index 904179b..0000000 --- a/dependabot/dependabot-nur.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: 2 - -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" diff --git a/dependabot/dependabot-soft-serve-action.yml b/dependabot/dependabot-soft-serve-action.yml index 5d4538e..a7c5779 100644 --- a/dependabot/dependabot-soft-serve-action.yml +++ b/dependabot/dependabot-soft-serve-action.yml @@ -1,13 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - package-ecosystem: npm directory: / diff --git a/dependabot/dependabot-vhs-action.yml b/dependabot/dependabot-vhs-action.yml index 5d4538e..a7c5779 100644 --- a/dependabot/dependabot-vhs-action.yml +++ b/dependabot/dependabot-vhs-action.yml @@ -1,13 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - package-ecosystem: npm directory: / diff --git a/dependabot/dependabot-wish.yml b/dependabot/dependabot-wish.yml index 1accdc6..034962b 100644 --- a/dependabot/dependabot-wish.yml +++ b/dependabot/dependabot-wish.yml @@ -1,18 +1,3 @@ -version: 2 - -updates: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" - package-ecosystem: "gomod" directory: "/examples" @@ -26,29 +11,3 @@ updates: commit-message: prefix: "chore" include: "scope" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" - - - package-ecosystem: "docker" - directory: "/" - schedule: - interval: "weekly" - day: "monday" - time: "05:00" - timezone: "America/New_York" - labels: - - "dependencies" - commit-message: - prefix: "chore" - include: "scope" From 43b6a6c6321435ca4b65102e22b8210323a575a9 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 12 Feb 2025 17:56:19 -0300 Subject: [PATCH 4/4] chore(dependabot): ask repo name as input, copy workflow as well --- .github/workflows/dependabot-sync.yml | 16 +++++++++++----- dependabot/workflows/dependabot-sync.yml | 15 +++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 dependabot/workflows/dependabot-sync.yml diff --git a/.github/workflows/dependabot-sync.yml b/.github/workflows/dependabot-sync.yml index 9ae94ab..ba25983 100644 --- a/.github/workflows/dependabot-sync.yml +++ b/.github/workflows/dependabot-sync.yml @@ -1,6 +1,11 @@ name: dependabot-sync on: workflow_call: + inputs: + repo_name: + description: The repository name, without the "charmbracelet/" prefix. + required: true + type: string permissions: contents: write @@ -12,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - path: ${{ github.repository }} + path: ${{ github.repository_owner }}/${{ inputs.repo_name }} - uses: actions/checkout@v4 with: @@ -20,10 +25,11 @@ jobs: path: ${{ github.repository_owner }}/meta - run: | - cp "${{ github.repository_owner }}/meta/dependabot/dependabot.yml" "${{ github.repository }}/dependabot.yml" - DEPENDABOT_FILE="${{ github.repository_owner }}/meta/dependabot/dependabot-${{ github.event.repository.name }}.yml" + cp "${{ github.repository_owner }}/meta/dependabot/workflows/dependabot-sync.yml" "${{ github.repository_owner }}/${{ inputs.repo_name }}/.github/workflows/dependabot-sync.yml" + cp "${{ github.repository_owner }}/meta/dependabot/dependabot.yml" "${{ github.repository_owner }}/${{ inputs.repo_name }}/dependabot.yml" + DEPENDABOT_FILE="${{ github.repository_owner }}/meta/dependabot/dependabot-${{ inputs.repo_name }}.yml" if [ -f "$DEPENDABOT_FILE" ]; then - cat "$DEPENDABOT_FILE" >> "${{ github.repository }}/dependabot.yml" + cat "$DEPENDABOT_FILE" >> "${{ github.repository_owner }}/${{ inputs.repo_name }}/dependabot.yml" fi - name: Create Pull Request @@ -36,7 +42,7 @@ jobs: This is an automated pull request to sync the Dependabot config with the meta repository. branch: "ci/sync-dependabot-config" delete-branch: true - path: "${{ github.repository }}" + path: "${{ github.repository_owner }}/${{ inputs.repo_name }}" - name: Check outputs if: ${{ steps.cpr.outputs.pull-request-number }} diff --git a/dependabot/workflows/dependabot-sync.yml b/dependabot/workflows/dependabot-sync.yml new file mode 100644 index 0000000..e5aa74e --- /dev/null +++ b/dependabot/workflows/dependabot-sync.yml @@ -0,0 +1,15 @@ +name: dependabot-sync +on: + schedule: + - cron: "0 0 * * 0" # every Sunday at midnight + workflow_dispatch: # allows manual triggering + +permissions: + contents: write + pull-requests: write + +jobs: + dependabot-sync: + uses: charmbracelet/meta/.github/workflows/dependabot-sync.yml@main + with: + repo_name: ${{ github.event.repository.name }}