Repository navigation
fix dark theme dashboard labels #1145
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: Generate Migrations | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| generate-migrations: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Pull changes | |
| run: git pull origin ${{ github.ref }} | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v5.0.0 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Generate migrations | |
| run: pnpm run db:generate | |
| - name: Commit and push migrations | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| git add . | |
| git commit -m "Generate new migrations" -m "Co-authored-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" || echo "No changes to commit" | |
| git push origin ${{ github.ref }} |