Skip to content

Commit

Permalink
Merge branch 'main' into hm/forest-tool-api-generate-test-snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 authored Dec 16, 2024
2 parents 75c7a6e + 420612f commit e54bc5e
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ on:
branches: [main]
tags:
- "*"
paths-ignore:
- 'docs/'
merge_group:
pull_request:
# This needs to be declared explicitly so that the job is actually
# run when moved out of draft.
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- 'docs/'

env:
CI: 1
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Docs Check

# Cancel workflow if there is a new change to the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
push:
branches:
- main
paths:
- '**.md'
- '.github/workflows/docs-check.yml'
merge_group:
pull_request:
branches:
- main
paths:
- '**.md'
- '.github/workflows/docs-check.yml'

jobs:
docs-check:
name: Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
# See https://github.com/actions/setup-node/issues/1027
# cache: yarn
- run: corepack enable
- run: make format-spellcheck-dictionary-check
- run: yarn --immutable
- run: yarn typecheck
- run: yarn spellcheck
- run: yarn format-check
- run: yarn build
4 changes: 4 additions & 0 deletions .github/workflows/forest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ concurrency:
pull_request:
branches:
- main
paths-ignore:
- 'docs/'
push:
branches:
- main
paths-ignore:
- 'docs/'
schedule:
- cron: 0 0 * * *
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ on:
pull_request:
branches:
- main
paths:
- '**/*.rs'
- '.github/workflows/rust-lint.yml'
push:
branches:
- main
paths:
- '**/*.rs'
- '.github/workflows/rust-lint.yml'
schedule:
- cron: "0 0 * * *"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ on:
# This needs to be declared explicitly so that the job is actually
# run when moved out of draft.
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- 'docs/'
push:
branches:
- main
paths-ignore:
- 'docs/'
schedule:
- cron: "0 0 * * *"

Expand Down

0 comments on commit e54bc5e

Please sign in to comment.