From a8cd142f585d3d491d18948b79b5f33dfada073e Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 1 Apr 2024 19:12:05 -0400 Subject: [PATCH 1/6] download archive to the expected directory --- .github/workflows/github-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index edd25172..fd20d9ab 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -211,7 +211,7 @@ jobs: uses: actions/download-artifact@v3 with: name: ${{ inputs.archive_name }} - path: . + path: dist/ - name: "[DEBUG] Display Structure Of Expected Files" run: | From 82785ea2523483052f344160ab4c1f5c0a677efc Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 1 Apr 2024 19:21:53 -0400 Subject: [PATCH 2/6] point reference to dev workflow, revert before merging --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1135adb8..7f4a9585 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -154,7 +154,7 @@ jobs: # ToDo: update GH release to handle adding dbt-tests-adapter and dbt-adapter assets to the same release if: ${{ !failure() && !cancelled() && inputs.package == 'dbt-adapters' }} needs: [release-inputs, build-and-test, bump-version-generate-changelog] - uses: dbt-labs/dbt-adapters/.github/workflows/github-release.yml@main + uses: dbt-labs/dbt-adapters/.github/workflows/github-release.yml@config/fix-github-release with: sha: ${{ needs.bump-version-generate-changelog.outputs.final_sha }} version_number: ${{ inputs.version_number }} From 967ce305b43dee712d5002947237fca7ce432223 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 1 Apr 2024 19:32:11 -0400 Subject: [PATCH 3/6] reverting - point reference to dev workflow, revert before merging --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f4a9585..1135adb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -154,7 +154,7 @@ jobs: # ToDo: update GH release to handle adding dbt-tests-adapter and dbt-adapter assets to the same release if: ${{ !failure() && !cancelled() && inputs.package == 'dbt-adapters' }} needs: [release-inputs, build-and-test, bump-version-generate-changelog] - uses: dbt-labs/dbt-adapters/.github/workflows/github-release.yml@config/fix-github-release + uses: dbt-labs/dbt-adapters/.github/workflows/github-release.yml@main with: sha: ${{ needs.bump-version-generate-changelog.outputs.final_sha }} version_number: ${{ inputs.version_number }} From 7409753d5e17138a8fe2c3f77e0108149c3afe7e Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 1 Apr 2024 19:51:19 -0400 Subject: [PATCH 4/6] remove skipped paths --- .github/workflows/changelog-existence.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/changelog-existence.yml b/.github/workflows/changelog-existence.yml index d778f565..f6fec9d6 100644 --- a/.github/workflows/changelog-existence.yml +++ b/.github/workflows/changelog-existence.yml @@ -19,7 +19,6 @@ name: Check Changelog Entry on: pull_request_target: types: [opened, reopened, labeled, unlabeled, synchronize] - paths-ignore: ['.changes/**', '.github/**', 'tests/**', 'third-party-stubs/**', '**.md', '**.yml'] workflow_dispatch: From 8a0ae3c75328792121be58dc35cb65329a986c6b Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 1 Apr 2024 19:54:18 -0400 Subject: [PATCH 5/6] update trigger from pull_request_target to pull_request --- .github/workflows/changelog-existence.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changelog-existence.yml b/.github/workflows/changelog-existence.yml index f6fec9d6..513a143d 100644 --- a/.github/workflows/changelog-existence.yml +++ b/.github/workflows/changelog-existence.yml @@ -17,8 +17,9 @@ name: Check Changelog Entry on: - pull_request_target: + pull_request: types: [opened, reopened, labeled, unlabeled, synchronize] + paths-ignore: ['.changes/**', '.github/**', 'tests/**', 'third-party-stubs/**', '**.md', '**.yml'] workflow_dispatch: From eb5c4b751fa7d1f500dc5601c8ea94a1ee54104f Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 1 Apr 2024 19:55:29 -0400 Subject: [PATCH 6/6] revert changes to changelog check --- .github/workflows/changelog-existence.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changelog-existence.yml b/.github/workflows/changelog-existence.yml index 513a143d..d778f565 100644 --- a/.github/workflows/changelog-existence.yml +++ b/.github/workflows/changelog-existence.yml @@ -17,7 +17,7 @@ name: Check Changelog Entry on: - pull_request: + pull_request_target: types: [opened, reopened, labeled, unlabeled, synchronize] paths-ignore: ['.changes/**', '.github/**', 'tests/**', 'third-party-stubs/**', '**.md', '**.yml']