mirror of
https://github.com/bitwarden/server.git
synced 2024-12-11 15:17:44 +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
|
- name: Checkout PR
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||||
|
|
||||||
- name: Validate config existed on branch
|
- name: Validate config exists in path
|
||||||
id: validate-config
|
id: validate-config
|
||||||
run: |
|
run: |
|
||||||
# Search the git history for config files, exit if not found.
|
if [[ -f "ephemeral-environments/$GITHUB_HEAD_REF.yaml" ]]; then
|
||||||
if [[ -n $(git rev-list --all -- "ephemeral-environments/$GITHUB_HEAD_REF.yaml") ]]; then
|
echo "Ephemeral environment config found in path, continuing."
|
||||||
echo "Ephemeral environment config found on branch, continuing."
|
|
||||||
echo "config-exists=true" >> $GITHUB_OUTPUT
|
echo "config-exists=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user