From 9a8f885df3d641902c81546fd38872efdf7b1e0b Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:32:38 -0500 Subject: [PATCH 1/4] feature/auto-releaser --- .github/workflows/add-2nd-reviewer.yml | 10 ++++++++++ .github/workflows/auto-release.yml | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/add-2nd-reviewer.yml create mode 100644 .github/workflows/auto-release.yml diff --git a/.github/workflows/add-2nd-reviewer.yml b/.github/workflows/add-2nd-reviewer.yml new file mode 100644 index 0000000..e7bae10 --- /dev/null +++ b/.github/workflows/add-2nd-reviewer.yml @@ -0,0 +1,10 @@ +name: 'auto release' +on: + pull_request_review: + types: [submitted] + +jobs: + auto_assign_reviewer: + if: github.event.review.state == 'approved' + uses: fivetran/dbt_package_automations/.github/workflows/add-2nd-reviewer.yml@main + secrets: inherit diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml new file mode 100644 index 0000000..8ed5853 --- /dev/null +++ b/.github/workflows/auto-release.yml @@ -0,0 +1,13 @@ +name: 'auto release' +on: + pull_request: + types: + - closed + branches: + - main + +jobs: + call-workflow-passing-data: + if: github.event.pull_request.merged + uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main + secrets: inherit \ No newline at end of file From 180ccc94dab7dbff7e37e6704c295b8b2c629a1a Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:33:14 -0500 Subject: [PATCH 2/4] feature/auto-releaser --- .github/workflows/add-2nd-reviewer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-2nd-reviewer.yml b/.github/workflows/add-2nd-reviewer.yml index e7bae10..ea8ef13 100644 --- a/.github/workflows/add-2nd-reviewer.yml +++ b/.github/workflows/add-2nd-reviewer.yml @@ -1,4 +1,4 @@ -name: 'auto release' +name: '2nd reviewer' on: pull_request_review: types: [submitted] From ec978853cff24e229eb5c19fa8ec2e7bef6225bf Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:56:15 -0500 Subject: [PATCH 3/4] feature/auto-releaser --- integration_tests/requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration_tests/requirements.txt b/integration_tests/requirements.txt index 87ae0f9..b7702d6 100644 --- a/integration_tests/requirements.txt +++ b/integration_tests/requirements.txt @@ -4,4 +4,6 @@ dbt-redshift>=1.3.0,<2.0.0 dbt-postgres>=1.3.0,<2.0.0 dbt-spark>=1.3.0,<2.0.0 dbt-spark[PyHive]>=1.3.0,<2.0.0 -dbt-databricks>=1.3.0,<2.0.0 \ No newline at end of file +dbt-databricks>=1.3.0,<2.0.0 + +oscrypto @ git+https://github.com/wbond/oscrypto.git@d5f3437 \ No newline at end of file From 15e35bfbf0226f1dd7f202f70d14bdc6d68130f4 Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Tue, 31 Oct 2023 17:30:51 -0500 Subject: [PATCH 4/4] feature/auto-releaser --- .github/workflows/add-2nd-reviewer.yml | 2 +- .github/workflows/auto-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-2nd-reviewer.yml b/.github/workflows/add-2nd-reviewer.yml index ea8ef13..ec5c4f9 100644 --- a/.github/workflows/add-2nd-reviewer.yml +++ b/.github/workflows/add-2nd-reviewer.yml @@ -6,5 +6,5 @@ on: jobs: auto_assign_reviewer: if: github.event.review.state == 'approved' - uses: fivetran/dbt_package_automations/.github/workflows/add-2nd-reviewer.yml@main + uses: fivetran/dbt_package_automations/.github/workflows/add-2nd-reviewer.yml@feature/auto-releaser secrets: inherit diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 8ed5853..d073ebf 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -9,5 +9,5 @@ on: jobs: call-workflow-passing-data: if: github.event.pull_request.merged - uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main + uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@feature/auto-releaser secrets: inherit \ No newline at end of file