Sylius/.github/workflows/bunnyshell_prepare-preview-env.yaml
Aris Buzachis 1a5b08e8c8
[Bunnyshell] Adjust the workflows for Fork PRs
Signed-off-by: Aris Buzachis <aris.buzachis@bunnyshell.com>
2023-07-06 09:19:45 +02:00

20 lines
711 B
YAML

name: Bunnyshell - Prepare Preview Environment Configuration
on:
pull_request:
types: [ opened, reopened, synchronize ]
branches:
- '*'
paths-ignore:
- "*.md"
issue_comment:
types: [ created, edited ]
jobs:
deploy:
name: Deploy Environment
uses: bunnyshell/workflows/.github/workflows/prepare-configuration.yaml@v1
with:
bunnyshell-yaml-path: .bunnyshell/templates/preview/bunnyshell.yaml
allowed-users: ${{ vars.BUNNYSHELL_ALLOWED_USERS }}
git-ref: refs/pull/${{ github.event.number || github.event.issue.number }}/head
restricted-files: |
.bunnyshell/*