mirror of
https://github.com/bitwarden/server.git
synced 2024-12-03 14:03:33 +01:00
Merge branch 'BRE-291-ephemeral-env-cleanup-workflow' into ephem-test-01
This commit is contained in:
commit
e383deae77
@ -14,12 +14,11 @@ jobs:
|
||||
- name: Checkout PR
|
||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
|
||||
- name: Validate config existed on branch
|
||||
- name: Validate config exists in path
|
||||
id: validate-config
|
||||
run: |
|
||||
# Search the git history for config files, exit if not found.
|
||||
if [[ -n $(git rev-list --all -- "ephemeral-environments/$GITHUB_HEAD_REF.yaml") ]]; then
|
||||
echo "Ephemeral environment config found on branch, continuing."
|
||||
if [[ -f "ephemeral-environments/$GITHUB_HEAD_REF.yaml" ]]; then
|
||||
echo "Ephemeral environment config found in path, continuing."
|
||||
echo "config-exists=true" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user