name: pull-request on: pull_request: paths-ignore: - "**.md" workflow_dispatch: jobs: pre-run: uses: ./.github/workflows/pre-run.yml secrets: inherit commitlint: runs-on: ubuntu-latest needs: pre-run steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1 with: configFile: .github/.husky/commitlint.json tests: needs: pre-run uses: ./.github/workflows/tests.yml secrets: inherit ts-shape: runs-on: ubuntu-latest needs: pre-run if: needs.pre-run.outputs.is-not-fork == 'true' permissions: pull-requests: write steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - uses: janniks/ts-shape-action@25836a4fa2197ebdf51b248d7aa4847f4815c17b # v1.0.4 with: github-token: ${{ secrets.GITHUB_TOKEN }}