Skip to content

teztnets.xyz footer note #3

teztnets.xyz footer note

teztnets.xyz footer note #3

Workflow file for this run

name: Preview
on:
pull_request:
branches:
- main
jobs:
preview:
name: Pulumi Preview
# don't do this on fork - this would not work because secrets would not be accessible
if: github.event.pull_request.head.repo.full_name == github.repository
uses: ./.github/workflows/_pulumi.yml
secrets: inherit
with:
pulumi-command: preview
validate-yaml:
name: Validate YAML Files
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Validate YAML Files
run: |
python -c "import yaml, glob; [yaml.safe_load(open(file)) for file in glob.glob('networks/*/*.yaml')]"