-
Notifications
You must be signed in to change notification settings - Fork 27
37 lines (31 loc) · 910 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
name: pr
concurrency: ${{ github.workflow }}/${{ github.ref }}
on:
pull_request:
paths-ignore:
- docs/**
- po/**
- README.md
- Vagrantfile
- vagrant-provision/**
jobs:
build:
uses: ./.github/workflows/build.yml
with:
testspace: ${{ !github.event.repository.fork }}
if: >-
startsWith(github.event.pull_request.head.ref, 'renovate/')
|| github.event.pull_request.base.repo.node_id != github.event.pull_request.head.repo.node_id
test:
needs: build
uses: ./.github/workflows/test.yml
with:
testspace: ${{ !github.event.repository.fork }}
translations:
uses: ./.github/workflows/pot.yml
with:
commit: false
secrets: inherit
if: >-
startsWith(github.event.pull_request.head.ref, 'renovate/')
|| github.event.pull_request.base.repo.node_id != github.event.pull_request.head.repo.node_id