bump-plugin-shas.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Bump Plugin SHAs
  2. # Weekly sweep: for each external entry whose upstream HEAD has moved past
  3. # its pinned SHA, validate at the new SHA with `claude plugin validate`
  4. # inline, then open one PR with all passing bumps.
  5. #
  6. # Bot-free — uses the default GITHUB_TOKEN. Because GITHUB_TOKEN-opened PRs
  7. # don't trigger on:pull_request workflows, validation runs in this workflow
  8. # before the PR is opened; the PR body links back here as the CI evidence.
  9. on:
  10. schedule:
  11. - cron: '23 7 * * 1' # Monday 07:23 UTC
  12. workflow_dispatch:
  13. inputs:
  14. max_bumps:
  15. description: Cap on plugins bumped this run
  16. required: false
  17. default: '20'
  18. permissions:
  19. contents: write
  20. pull-requests: write
  21. concurrency:
  22. group: bump-plugin-shas
  23. jobs:
  24. bump:
  25. runs-on: ubuntu-latest
  26. steps:
  27. - uses: actions/checkout@v4
  28. - uses: anthropics/claude-plugins-community/.github/actions/bump-plugin-shas@f846a0bcb0e721b1f93d60e8b73e91dafc4a1e87
  29. with:
  30. marketplace-path: .claude-plugin/marketplace.json
  31. max-bumps: ${{ inputs.max_bumps || '20' }}
  32. claude-cli-version: latest