190 update default config file docs and values #287
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pulumi | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
public_stack: | |
name: Update public stack | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: update public config | |
uses: mikefarah/yq@master | |
with: | |
cmd: yq -i '.config = load("Pulumi.cape-cod-dev.yaml").config | (.. | select(length == 1 and has("secure"))) |= "SET_SECRET"' Pulumi.cape-cod-public.yaml | |
- name: create pull request | |
if: ${{ github.event_name == 'push' }} | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "chore: update public pulumi stack config" | |
title: Update public pulumi stack configuration | |
body: Changes were detected to the dev stack config, so this updates the public stack config with all secrets removed | |
branch: pulumi-ci-update-public-stack | |
delete-branch: true |