Catalog #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Catalog | |
| on: | |
| schedule: | |
| - cron: '0 9 * * 1' # Weekly on Monday at 9am UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| catalog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - run: make build | |
| - run: ./bin/gh-fleet catalog | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Commit catalog changes | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add README.md | |
| git diff --cached --quiet || git commit -m "chore: update extension catalog" | |
| git push |