1. Introduce pretier for github workflows. 2. Bootstrap of CI on gith… #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: lint-github-workflows | |
| description: Lint GitHub workflow files using Prettier | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| paths: | |
| - ".github/**" | |
| pull_request: | |
| paths: | |
| - ".github/**" | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Run Prettier on .github workflow files | |
| run: | | |
| npx prettier --check .github/ |