-
Notifications
You must be signed in to change notification settings - Fork 51
32 lines (31 loc) · 2.04 KB
/
testprenvironment.yaml
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
########################################################################################################################
## ##
## This github workflow file is part of the Platform.sh process of updating and maintaining our collection of ##
## templates. For more information see https://github.com/platformsh-templates/ghrw-templates ##
## and https://github.com/search?q=topic%3Agithub-action+org%3Aplatformsh ##
## ##
## YOU CAN SAFELY DELETE THIS FILE ##
## ##
########################################################################################################################
name: "TestPullRequestEnv"
run-name: "TestPullRequestEnv"
on:
workflow_run:
workflows: [ "platformsh" ]
types:
- completed
pull_request:
branches:
- master
- main
jobs:
# !!!! WARNING !!!! #
# If for some reason you decide to change this jobid from `TestPrEnv-CW` to something else, you will also need to
# add a repository variable of CW_JOBID with a value of the new jobid.
# Explanation: the jobid below is part of the status check name that is used in preparing the repository for an
# auto-accepting PR. If you change the jobid below, but do not add the repo variable with this value, then the repository
# will be configured to require a status check that does not exist and it will be unable to accept the PR. In addition,
# you will be blocked from accepting the PR until you remove it from the repo's settings
TestPrEnv-CW:
uses: platformsh-templates/ghrw-templates/.github/workflows/testprenvironment.yaml@main
secrets: inherit