Skip to content

TestPullRequestEnv #195

TestPullRequestEnv

TestPullRequestEnv #195

########################################################################################################################
## ##
## 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