From 54a366caa219907da9e72f1da9e0e688f6a19cd5 Mon Sep 17 00:00:00 2001 From: Amir Szekely Date: Wed, 18 Oct 2023 14:16:50 -0400 Subject: [PATCH] chore: Auto-update snapshot for any branch (#89) --- .github/workflows/update-snapshot.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-snapshot.yml b/.github/workflows/update-snapshot.yml index 2c7b280..ff41f88 100644 --- a/.github/workflows/update-snapshot.yml +++ b/.github/workflows/update-snapshot.yml @@ -4,7 +4,6 @@ on: workflow_run: workflows: [build] types: [completed] - branches: [github-actions/upgrade-main] jobs: on-failure: @@ -12,6 +11,8 @@ jobs: container: image: jsii/superchain:1-buster-slim-node16 if: ${{ github.event.workflow_run.conclusion == 'failure' }} + env: + CI: "true" steps: - name: Checkout uses: actions/checkout@v3 @@ -79,7 +80,7 @@ jobs: ------ *Automatically created by projen via the "upgrade-snapshot" workflow* - branch: github-actions/upgrade-snapshot + branch: ${{ github.event.workflow_run.head_branch }}/upgrade-snapshot title: "chore(deps): update snapshot for dependencies upgrade" body: |- Update snapshot. See details in [workflow run].