diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 367072377f..7c2ce34209 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,11 @@ on: branches: - main - backport-release-* - paths-ignore: - - "**.md" - - "docs/**" - - "website/**" - - "cdk.tf/**" - - "tools/update-github-project-board/**" + paths: + - "packages/**" + - "tools/**" + - "package.json" + - "yarn.lock" env: SENTRY_ORG: hashicorp @@ -90,24 +89,18 @@ jobs: secrets: inherit examples: - needs: - - prepare-release uses: ./.github/workflows/examples.yml with: concurrency_group_prefix: release secrets: inherit linting: - needs: - - prepare-release uses: ./.github/workflows/linting.yml with: concurrency_group_prefix: release secrets: inherit unit_test: - needs: - - prepare-release uses: ./.github/workflows/unit.yml strategy: fail-fast: false @@ -119,6 +112,8 @@ jobs: "@cdktf/hcl2cdk", "@cdktf/hcl2json", "@cdktf/provider-generator", + "@cdktf/commons", + "@cdktf/cli-core", ] terraform_version: ["1.1.9", "1.2.8"] with: diff --git a/.github/workflows/release_next.yml b/.github/workflows/release_next.yml index 1d1d64396f..6bc6f54b8b 100644 --- a/.github/workflows/release_next.yml +++ b/.github/workflows/release_next.yml @@ -3,12 +3,11 @@ on: push: branches: - main - paths-ignore: - - "**.md" - - "docs/**" - - "website/**" - - "cdk.tf/**" - - "tools/update-github-project-board/**" + paths: + - "packages/**" + - "tools/**" + - "package.json" + - "yarn.lock" env: SENTRY_ORG: hashicorp @@ -88,8 +87,6 @@ jobs: run: git push --follow-tags unit_test: - needs: - - prepare-release uses: ./.github/workflows/unit.yml strategy: fail-fast: false @@ -101,6 +98,8 @@ jobs: "@cdktf/hcl2cdk", "@cdktf/hcl2json", "@cdktf/provider-generator", + "@cdktf/commons", + "@cdktf/cli-core", ] terraform_version: ["1.1.9", "1.2.8"] with: @@ -110,8 +109,6 @@ jobs: secrets: inherit linting: - needs: - - prepare-release uses: ./.github/workflows/linting.yml with: concurrency_group_prefix: release-next @@ -127,8 +124,6 @@ jobs: secrets: inherit examples: - needs: - - prepare-release uses: ./.github/workflows/examples.yml with: concurrency_group_prefix: release-next