build(deps): bump @lizardbyte/contribkit from 2025.315.185528 to 2025.316.4339 #44
Workflow file for this run
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: Scheduler | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| push: | |
| branches: | |
| - master | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| update-sponsors: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Checkout dist | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: dist | |
| path: dist | |
| - name: Set node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - run: npm install | |
| - name: Update sponsors | |
| run: npm run build | |
| env: | |
| CONTRIBKIT_GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }} | |
| CONTRIBKIT_GITHUB_LOGIN: ${{ github.repository_owner }} | |
| CONTRIBKIT_GITHUB_TYPE: organization | |
| CONTRIBKIT_PATREON_TOKEN: ${{ secrets.PATREON_CREATOR_TOKEN }} | |
| - name: Setup dist | |
| run: | | |
| # empty dist directory | |
| rm -rf dist/sponsors.* | |
| # move new files | |
| mv -f sponsors.* dist/ | |
| - name: Upload artifacts | |
| if: github.event_name == 'pull_request' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sponsors | |
| path: dist | |
| if-no-files-found: 'error' | |
| - name: Commit | |
| if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' | |
| uses: actions-js/push@v1.5 | |
| with: | |
| github_token: ${{ secrets.GH_BOT_TOKEN }} | |
| author_email: ${{ secrets.GH_BOT_EMAIL }} | |
| author_name: ${{ secrets.GH_BOT_NAME }} | |
| branch: dist | |
| directory: dist | |
| force: false | |
| message: "chore: update sponsors" |