Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequential workflows #35

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Markdown linting
on:
push:
pull_request:

branches-ignore: [main]
jobs:
lint:
name: Lint markdown
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main
workflow_run:
workflows: [ Lint-markdown ]
branches: [main]
types: [completed]

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Test build site
on:
pull_request:
workflow_run:
workflows: [ Lint-markdown ]
types: [completed]

jobs:
test:
Expand Down