From 9d554bfd175f52b426c71bc3d148f5e5e5686bce Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Tue, 14 May 2024 10:32:32 -0400 Subject: [PATCH] Update devcontainer to build on prerelease --- .github/workflows/devcontainer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index e7537194f6..181f08cd04 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -13,7 +13,7 @@ on: - ".github/workflows/devcontainer.yml" - "!.devcontainer/devcontainer.json" release: - types: [created] + types: [published, prereleased] jobs: build-and-push: @@ -76,7 +76,7 @@ jobs: propose-update-pr: needs: build-and-push runs-on: ubuntu-latest - if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'create' && startsWith(github.ref, 'refs/tags/')) + if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')) permissions: pull-requests: write contents: write