Skip to content

ci: add timeouts for each GHA workflow and QA pr footer #66

ci: add timeouts for each GHA workflow and QA pr footer

ci: add timeouts for each GHA workflow and QA pr footer #66

Workflow file for this run

name: Format
on: [pull_request]
jobs:
autocorrect:
runs-on: ubuntu-latest
timeout-minutes: 1
# Only run on PRs from non-forks
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --no-lockfile
- run: yarn fmt
- run: yarn lint --fix
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # tag=v5
with:
commit_message: ':robot: Automated formatting fixes'