chore: Create Build Workflows workflow
#3
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
| # DO NOT EDIT THIS FILE | |
| # This file is automatically generated by ghats (https://www.npmjs.com/package/ghats) | |
| # Edit the workflow in .github/workflows/build-workflows.ts instead, and run `ghats build` to update this file. | |
| {"name":"Build Workflows","on":{"pull_request":{"paths":[".github/workflows/**"]}},"permissions":{},"jobs":{"build":{"runs-on":"ubuntu-latest","permissions":{"contents":"write","pull-requests":"write"},"timeout-minutes":5,"steps":[{"with":{"persist-credentials":"false"},"uses":"actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"},{"uses":"jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8"},{"with":{"path":"~/.bun/install/cache","key":"${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}","restore-keys":"${{ runner.os }}-bun-"},"uses":"actions/cache@5a3ec84eff668545956fd18022155c47e93e2684"},{"run":"bun install --frozen-lockfile"},{"run":"bunx ghats install"},{"run":"bun run gha:build"},{"id":"check","run":"\n git add ./.github/workflows\n if ! git diff --quiet --exit-code --staged ./.github/workflows; then\n echo \"Workflows are not built\"\n exit 1\n fi\n "},{"if":"${{ failure() && steps.check.outcome == 'failure' }}","with":{"token":"${{ github.token }}","title":"chore: Build Workflows","commit-message":"chore: Build Workflows","body":"Created from #${{ github.event.pull_request.number }}.","base":"${{ github.head_ref }}","branch":"build-workflows/${{ github.head_ref }}"},"uses":"peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e"}]}}} |