Daily Maintenance Check #387
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: Daily Maintenance Check | |
| on: | |
| schedule: | |
| - cron: '0 14 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| maintenance-check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| contents: read | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install grpcurl | |
| run: | | |
| curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.9.2/grpcurl_1.9.2_linux_x86_64.tar.gz" | tar -xz -C /usr/local/bin | |
| chmod +x /usr/local/bin/grpcurl | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --no-save | |
| - name: Run maintenance check | |
| run: bun maintenance | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SF_API_KEY: ${{ secrets.SF_API_KEY }} | |
| PINAX_API_KEY: ${{ secrets.PINAX_API_KEY }} | |
| THEGRAPH_STUDIO_KEY: ${{ secrets.THEGRAPH_STUDIO_KEY }} | |
| STUDIO_GITHUB_TOKEN: ${{ secrets.STUDIO_GITHUB_TOKEN }} |