diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7f02f358a..6962172a8d 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -396,7 +396,7 @@ jobs: SHELL: bash GITHUB_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} timeout-minutes: 10 - #if: contains(fromJSON('["refs/heads/master", "refs/heads/beta", "refs/heads/release", "refs/heads/LTS"]'), github.ref) || startsWith(github.event.pull_request.head.ref, 'version/') + if: contains(fromJSON('["refs/heads/master", "refs/heads/beta", "refs/heads/release", "refs/heads/LTS"]'), github.ref) || startsWith(github.event.pull_request.head.ref, 'version/') # === Deploy Steps === steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d30dbce5cd..375c7f4aa5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,11 +2,7 @@ name: Release # === Triggers === "on": - pull_request: - types: - - edited - - labeled - - synchronize + create # === JOBS === jobs: @@ -16,7 +12,7 @@ jobs: name: Remote Installer timeout-minutes: 30 runs-on: windows-2019 - #if: github.event.ref_type == 'tag' && contains(github.event.ref, 'release/remote-installer') + if: github.event.ref_type == 'tag' && contains(github.event.ref, 'release/remote-installer') permissions: id-token: write # This is required for requesting the JWT env: