forked from mloesch/sickle
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (34 loc) · 769 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review # this is needed to trigger checks, when an auto-generated "draft" PR is set for "ready for review".
concurrency:
group: pr-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
CLICOLOR_FORCE: 1
permissions:
contents: read
jobs:
test:
uses: ./.github/workflows/test.yml
docs:
permissions:
contents: write
uses: ./.github/workflows/docs.yml
required-checks-pass:
if: always()
needs:
- test
- docs
runs-on: ubuntu-22.04
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}