From 07cc6c97c9d6935fb69397ebfcccbebf66edb14e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 18 May 2022 08:48:54 -0500 Subject: [PATCH 001/133] testing functionality --- .github/workflows/playground.yml | 55 ++++++++++++++++++++++++++++++++ .github/workflows/release.yml | 2 +- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/playground.yml diff --git a/.github/workflows/playground.yml b/.github/workflows/playground.yml new file mode 100644 index 00000000..3e6acbd3 --- /dev/null +++ b/.github/workflows/playground.yml @@ -0,0 +1,55 @@ +name: Playground for Workflow Testing + +on: + workflow_dispatch: + inputs: + sha: + description: 'The last commit sha in the release' + required: true + version_number: + description: 'The release version number (i.e. 1.0.0b1)' + required: true + default: 2.2.2 + +defaults: + run: + shell: bash + +jobs: + + get_release_by_tag: + name: Test GH CLI find release by tag + runs-on: ubuntu-latest + + steps: + - name: Find Release by tag + id: cli_tag + run: | + release_commit=`gh release view v${{ inputs.version_number }} --json targetCommitish` + echo "::set-output name=releaseJson::$release_commit" + + get_release_by_commit: + name: Test GH CLI find by commit + runs-on: ubuntu-latest + + steps: + - name: Find Release by tag + id: cli_tag + run: | + release_commit=`gh release view v${{ inputs.version_number }} --json targetCommitish` + echo "::set-output name=releaseJson::$release_commit" + + create_release: + name: Test GH CLI Release Creation + runs-on: ubuntu-latest + + steps: + - name: Find Release by tag + id: cli_tag + run: | + VERSION=v${{ version_number }} + CHANGELOG_FILE=CHANGELOG.md + TITLE="my_repo v1.2.3" + PRERELEASE='' + gh release create $VERSION -t $TITLE -F $CHANGELOG_FILE --target ${{ input.sha }} $PRERELEASE + gh release create v1.2.3 -t "my_repo v1.2.3" -F CHANGELOG.md --target ${{ input.sha }} '' \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06f2fc1e..7c833417 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: "Build and Release" +name: "Build and Release via Action" on: workflow_dispatch: From 37002e775ee9961d68face1acbfef5889398e526 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 20:43:08 -0500 Subject: [PATCH 002/133] dummy --- change_me.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/change_me.txt b/change_me.txt index c3af6eb8..f48d7566 100644 --- a/change_me.txt +++ b/change_me.txt @@ -1 +1,2 @@ -This file changes! \ No newline at end of file +This file changes! +Here we are again. \ No newline at end of file From b1f54a168be755683da3f0503324878ecadbe5b2 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 01:43:39 +0000 Subject: [PATCH 003/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-014336.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-014336.yaml diff --git a/.changes/unreleased/Dependency-20220831-014336.yaml b/.changes/unreleased/Dependency-20220831-014336.yaml new file mode 100644 index 00000000..a8a7d68b --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-014336.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "dummy" +time: 2022-08-31T01:43:36.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 24 From a493c253ef0ee6f2f432bfafe305e3677543b19d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:05:24 -0500 Subject: [PATCH 004/133] add quotes --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index b3df4a0d..7c47b762 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -48,7 +48,7 @@ jobs: steps: - name: Create and commit changelog on bot PR - if: "contains(github.event.pull_request.labels.*.name, ${{ matrix.label }})" + if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" id: bot_changelog uses: emmyoop/changie_bot@main with: From 2ad3c6df56ec0c94dd1a203ed09fe8c610e52ea0 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:08:26 -0500 Subject: [PATCH 005/133] dummy --- change_me.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change_me.txt b/change_me.txt index c3af6eb8..b94c5a2a 100644 --- a/change_me.txt +++ b/change_me.txt @@ -1 +1 @@ -This file changes! \ No newline at end of file +This file changes! Once more. \ No newline at end of file From 0fd5992cbdb3bd2e702add3380a15bd480f7458e Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:08:59 +0000 Subject: [PATCH 006/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-020859.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-020859.yaml diff --git a/.changes/unreleased/Dependency-20220831-020859.yaml b/.changes/unreleased/Dependency-20220831-020859.yaml new file mode 100644 index 00000000..4b50a114 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-020859.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "dummy" +time: 2022-08-31T02:08:59.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From b326171d2b10e37e40bcbbeee72a5bee32410cc6 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:09:04 +0000 Subject: [PATCH 007/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Security-20220831-020903.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Security-20220831-020903.yaml diff --git a/.changes/unreleased/Security-20220831-020903.yaml b/.changes/unreleased/Security-20220831-020903.yaml new file mode 100644 index 00000000..68146f7e --- /dev/null +++ b/.changes/unreleased/Security-20220831-020903.yaml @@ -0,0 +1,7 @@ +kind: Security +body: "dummy" +time: 2022-08-31T02:09:03.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From ebeec468d1f20d89f009669aaea3b9379534a129 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:12:30 -0500 Subject: [PATCH 008/133] add debugging --- .github/workflows/changie_bot_testing.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 7c47b762..1c0ca210 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -46,6 +46,10 @@ jobs: runs-on: ubuntu-latest steps: + - name: Debug Lines + uses: bash + run: | + echo Label: ${{ matrix.label }} - name: Create and commit changelog on bot PR if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From 175145301c150c3b3f09893a46154891ed1df5f8 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:13:08 -0500 Subject: [PATCH 009/133] delete new changelogs --- .changes/unreleased/Dependency-20220826-011634.yaml | 7 ------- .changes/unreleased/Dependency-20220831-020859.yaml | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220826-011634.yaml delete mode 100644 .changes/unreleased/Dependency-20220831-020859.yaml diff --git a/.changes/unreleased/Dependency-20220826-011634.yaml b/.changes/unreleased/Dependency-20220826-011634.yaml deleted file mode 100644 index aaa24014..00000000 --- a/.changes/unreleased/Dependency-20220826-011634.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Test 2" -time: 2022-08-26T01:16:34.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 20 diff --git a/.changes/unreleased/Dependency-20220831-020859.yaml b/.changes/unreleased/Dependency-20220831-020859.yaml deleted file mode 100644 index 4b50a114..00000000 --- a/.changes/unreleased/Dependency-20220831-020859.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "dummy" -time: 2022-08-31T02:08:59.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 From 9efe8fe762b06b1fe92c16e22cfb2584aabfa4bd Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:14:38 -0500 Subject: [PATCH 010/133] fix --- .github/workflows/changie_bot_testing.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 1c0ca210..af4d0a5a 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -47,7 +47,6 @@ jobs: steps: - name: Debug Lines - uses: bash run: | echo Label: ${{ matrix.label }} From 495c40e3a51caeb86545222282ac5c93e0b3cfe7 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:15:11 +0000 Subject: [PATCH 011/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-021511.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-021511.yaml diff --git a/.changes/unreleased/Dependency-20220831-021511.yaml b/.changes/unreleased/Dependency-20220831-021511.yaml new file mode 100644 index 00000000..60296712 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-021511.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "dummy" +time: 2022-08-31T02:15:11.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From 18516c06fe0046d5fbe4eb365e2568376dc01f5f Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:15:13 +0000 Subject: [PATCH 012/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Security-20220831-021512.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Security-20220831-021512.yaml diff --git a/.changes/unreleased/Security-20220831-021512.yaml b/.changes/unreleased/Security-20220831-021512.yaml new file mode 100644 index 00000000..1badd811 --- /dev/null +++ b/.changes/unreleased/Security-20220831-021512.yaml @@ -0,0 +1,7 @@ +kind: Security +body: "dummy" +time: 2022-08-31T02:15:12.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From 87405f546dada6b98415f842daab9e62e6ff2abd Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:16:39 -0500 Subject: [PATCH 013/133] guessing --- .github/workflows/changie_bot_testing.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index af4d0a5a..0b17e78a 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -49,6 +49,7 @@ jobs: - name: Debug Lines run: | echo Label: ${{ matrix.label }} + echo list: ${{github.event.pull_request.labels}} - name: Create and commit changelog on bot PR if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From 94e608cfa1cdf810d3371ffa527048d2b2d336e3 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:17:45 +0000 Subject: [PATCH 014/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Security-20220831-021744.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Security-20220831-021744.yaml diff --git a/.changes/unreleased/Security-20220831-021744.yaml b/.changes/unreleased/Security-20220831-021744.yaml new file mode 100644 index 00000000..406f82a2 --- /dev/null +++ b/.changes/unreleased/Security-20220831-021744.yaml @@ -0,0 +1,7 @@ +kind: Security +body: "dummy" +time: 2022-08-31T02:17:44.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From c81ae905187075c4f786f5e85def8705ebfa6f68 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:17:47 +0000 Subject: [PATCH 015/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-021747.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-021747.yaml diff --git a/.changes/unreleased/Dependency-20220831-021747.yaml b/.changes/unreleased/Dependency-20220831-021747.yaml new file mode 100644 index 00000000..c39a9176 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-021747.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "dummy" +time: 2022-08-31T02:17:47.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From 1c9bc60c1ac809426f052440a0ec2b3da654be9e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:18:16 -0500 Subject: [PATCH 016/133] remove changelogs --- .changes/unreleased/Dependency-20220831-021511.yaml | 7 ------- .changes/unreleased/Security-20220831-020903.yaml | 7 ------- .changes/unreleased/Security-20220831-021512.yaml | 7 ------- .changes/unreleased/Security-20220831-021744.yaml | 7 ------- 4 files changed, 28 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-021511.yaml delete mode 100644 .changes/unreleased/Security-20220831-020903.yaml delete mode 100644 .changes/unreleased/Security-20220831-021512.yaml delete mode 100644 .changes/unreleased/Security-20220831-021744.yaml diff --git a/.changes/unreleased/Dependency-20220831-021511.yaml b/.changes/unreleased/Dependency-20220831-021511.yaml deleted file mode 100644 index 60296712..00000000 --- a/.changes/unreleased/Dependency-20220831-021511.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "dummy" -time: 2022-08-31T02:15:11.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 diff --git a/.changes/unreleased/Security-20220831-020903.yaml b/.changes/unreleased/Security-20220831-020903.yaml deleted file mode 100644 index 68146f7e..00000000 --- a/.changes/unreleased/Security-20220831-020903.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Security -body: "dummy" -time: 2022-08-31T02:09:03.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 diff --git a/.changes/unreleased/Security-20220831-021512.yaml b/.changes/unreleased/Security-20220831-021512.yaml deleted file mode 100644 index 1badd811..00000000 --- a/.changes/unreleased/Security-20220831-021512.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Security -body: "dummy" -time: 2022-08-31T02:15:12.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 diff --git a/.changes/unreleased/Security-20220831-021744.yaml b/.changes/unreleased/Security-20220831-021744.yaml deleted file mode 100644 index 406f82a2..00000000 --- a/.changes/unreleased/Security-20220831-021744.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Security -body: "dummy" -time: 2022-08-31T02:17:44.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 From 4d2f5940e5f9be887c64bde9ba2c62138ac955a2 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:18:42 -0500 Subject: [PATCH 017/133] remove --- .changes/unreleased/Dependency-20220831-021747.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-021747.yaml diff --git a/.changes/unreleased/Dependency-20220831-021747.yaml b/.changes/unreleased/Dependency-20220831-021747.yaml deleted file mode 100644 index c39a9176..00000000 --- a/.changes/unreleased/Dependency-20220831-021747.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "dummy" -time: 2022-08-31T02:17:47.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 From cd501f8a90e6b9d6e283eb91bb39a4495a41d122 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:19:34 +0000 Subject: [PATCH 018/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Security-20220831-021933.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Security-20220831-021933.yaml diff --git a/.changes/unreleased/Security-20220831-021933.yaml b/.changes/unreleased/Security-20220831-021933.yaml new file mode 100644 index 00000000..0ee8d68e --- /dev/null +++ b/.changes/unreleased/Security-20220831-021933.yaml @@ -0,0 +1,7 @@ +kind: Security +body: "dummy" +time: 2022-08-31T02:19:33.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From 724c8a3b72a0e146ce140727bef09717d7258bb5 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:19:38 +0000 Subject: [PATCH 019/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-021937.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-021937.yaml diff --git a/.changes/unreleased/Dependency-20220831-021937.yaml b/.changes/unreleased/Dependency-20220831-021937.yaml new file mode 100644 index 00000000..4a3d3861 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-021937.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "dummy" +time: 2022-08-31T02:19:37.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 28 From c09d65c0b778d584ac68f730e1b5727256cf8b18 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:20:53 -0500 Subject: [PATCH 020/133] another try --- .github/workflows/changie_bot_testing.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 0b17e78a..4cc223c5 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -49,7 +49,8 @@ jobs: - name: Debug Lines run: | echo Label: ${{ matrix.label }} - echo list: ${{github.event.pull_request.labels}} + x=${{ toJson(github.event.pull_request.labels.*.name) }} + echo $x - name: Create and commit changelog on bot PR if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From 2a267f4dd441fdab8fab2038782ff2c172566741 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:21:12 -0500 Subject: [PATCH 021/133] remove --- .changes/unreleased/Dependency-20220831-021937.yaml | 7 ------- .changes/unreleased/Security-20220831-021933.yaml | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-021937.yaml delete mode 100644 .changes/unreleased/Security-20220831-021933.yaml diff --git a/.changes/unreleased/Dependency-20220831-021937.yaml b/.changes/unreleased/Dependency-20220831-021937.yaml deleted file mode 100644 index 4a3d3861..00000000 --- a/.changes/unreleased/Dependency-20220831-021937.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "dummy" -time: 2022-08-31T02:19:37.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 diff --git a/.changes/unreleased/Security-20220831-021933.yaml b/.changes/unreleased/Security-20220831-021933.yaml deleted file mode 100644 index 0ee8d68e..00000000 --- a/.changes/unreleased/Security-20220831-021933.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Security -body: "dummy" -time: 2022-08-31T02:19:33.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 28 From b4feda0bdecbe2c06a7b37603113a081f8e86063 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:22:28 -0500 Subject: [PATCH 022/133] try again --- .github/workflows/changie_bot_testing.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 4cc223c5..09380c74 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -50,7 +50,8 @@ jobs: run: | echo Label: ${{ matrix.label }} x=${{ toJson(github.event.pull_request.labels.*.name) }} - echo $x + echo list: $x + echo Label name: ${{ github.event.label.name }} - name: Create and commit changelog on bot PR if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From 63a65285db044ea9ae86d3985e9132e4826db1cb Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:25:32 -0500 Subject: [PATCH 023/133] more --- .github/workflows/changie_bot_testing.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 09380c74..8c313651 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -48,10 +48,9 @@ jobs: steps: - name: Debug Lines run: | - echo Label: ${{ matrix.label }} - x=${{ toJson(github.event.pull_request.labels.*.name) }} - echo list: $x - echo Label name: ${{ github.event.label.name }} + echo Label ${{ matrix.label }} + all_labels=${{ toJson(github.event.pull_request.labels.*.name) }} + echo Label Action ${{ github.event.label.name }} - name: Create and commit changelog on bot PR if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From 2e3b5c9b2af8ad552334c31e673eff06dee1da54 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:28:55 -0500 Subject: [PATCH 024/133] trying again --- .github/workflows/changie_bot_testing.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 8c313651..03eeae3b 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -46,11 +46,21 @@ jobs: runs-on: ubuntu-latest steps: - - name: Debug Lines - run: | - echo Label ${{ matrix.label }} - all_labels=${{ toJson(github.event.pull_request.labels.*.name) }} - echo Label Action ${{ github.event.label.name }} + - name: Debug 1 + if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" + run: echo "in contains" + - name: Debug 2 + if: "!contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" + run: echo "in !contains" + - name: Debug 3 + if: "contains(github.event.pull_request.labels.*.name, ${{ matrix.label }})" + run: echo "in quoted contains" + - name: Debug 4 + if: "!contains(github.event.pull_request.labels.*.name, ${{ matrix.label }})" + run: echo "in quoted !contains" + - name: Debug 5 + if: contains(github.event.pull_request.labels.*.name, ${{ matrix.label }}) + run: echo "in unquoted contains" - name: Create and commit changelog on bot PR if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From c9d9b83638d56f141cbd3a002d333d090baf50e9 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:29:42 +0000 Subject: [PATCH 025/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Security-20220831-022941.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Security-20220831-022941.yaml diff --git a/.changes/unreleased/Security-20220831-022941.yaml b/.changes/unreleased/Security-20220831-022941.yaml new file mode 100644 index 00000000..5311d69c --- /dev/null +++ b/.changes/unreleased/Security-20220831-022941.yaml @@ -0,0 +1,7 @@ +kind: Security +body: "Emmyoop patch 5" +time: 2022-08-31T02:29:41.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 30 From cf24fcd15b8428de3a3af5b02733487a8da4df03 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:29:43 +0000 Subject: [PATCH 026/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-022942.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-022942.yaml diff --git a/.changes/unreleased/Dependency-20220831-022942.yaml b/.changes/unreleased/Dependency-20220831-022942.yaml new file mode 100644 index 00000000..b5d20df1 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-022942.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T02:29:42.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 30 From 506c4c73377567e5b226a65221204391b9b0754b Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:29:46 +0000 Subject: [PATCH 027/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Security-20220831-022945.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Security-20220831-022945.yaml diff --git a/.changes/unreleased/Security-20220831-022945.yaml b/.changes/unreleased/Security-20220831-022945.yaml new file mode 100644 index 00000000..459b1472 --- /dev/null +++ b/.changes/unreleased/Security-20220831-022945.yaml @@ -0,0 +1,7 @@ +kind: Security +body: "Emmyoop patch 5" +time: 2022-08-31T02:29:45.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 30 From 5b915a235c3e42441a355bd7512837a20463acdd Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:32:35 -0500 Subject: [PATCH 028/133] more --- .github/workflows/changie_bot_testing.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 03eeae3b..69f5a5ad 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -48,7 +48,10 @@ jobs: steps: - name: Debug 1 if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" - run: echo "in contains" + run: | + echo "in contains" + echo '${{ matrix.label }}' + echo ${{ matrix.label }} - name: Debug 2 if: "!contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" run: echo "in !contains" From 1828c4dfee1f6bc6a2454b389e08632d8603db47 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:36:49 -0500 Subject: [PATCH 029/133] more testing --- .../Dependency-20220831-022942.yaml | 7 ----- .../unreleased/Security-20220831-022941.yaml | 7 ----- .../unreleased/Security-20220831-022945.yaml | 7 ----- .github/workflows/changie_bot_testing.yml | 30 +++++++++++-------- 4 files changed, 18 insertions(+), 33 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-022942.yaml delete mode 100644 .changes/unreleased/Security-20220831-022941.yaml delete mode 100644 .changes/unreleased/Security-20220831-022945.yaml diff --git a/.changes/unreleased/Dependency-20220831-022942.yaml b/.changes/unreleased/Dependency-20220831-022942.yaml deleted file mode 100644 index b5d20df1..00000000 --- a/.changes/unreleased/Dependency-20220831-022942.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T02:29:42.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 30 diff --git a/.changes/unreleased/Security-20220831-022941.yaml b/.changes/unreleased/Security-20220831-022941.yaml deleted file mode 100644 index 5311d69c..00000000 --- a/.changes/unreleased/Security-20220831-022941.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Security -body: "Emmyoop patch 5" -time: 2022-08-31T02:29:41.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 30 diff --git a/.changes/unreleased/Security-20220831-022945.yaml b/.changes/unreleased/Security-20220831-022945.yaml deleted file mode 100644 index 459b1472..00000000 --- a/.changes/unreleased/Security-20220831-022945.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Security -body: "Emmyoop patch 5" -time: 2022-08-31T02:29:45.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 30 diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 69f5a5ad..cee4ae8e 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -64,16 +64,22 @@ jobs: - name: Debug 5 if: contains(github.event.pull_request.labels.*.name, ${{ matrix.label }}) run: echo "in unquoted contains" + - name: Debug 6 + if: contains(github.event.pull_request.labels.*.name, '<${{ matrix.label }}>') + run: echo "in carrot contains" + - name: Debug 7 + if: "!contains(github.event.pull_request.labels.*.name, '<${{ matrix.label }}>')" + run: echo "in not carrot contains" - - name: Create and commit changelog on bot PR - if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" - id: bot_changelog - uses: emmyoop/changie_bot@main - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - commit_author_name: "Github Build Bot" - commit_author_email: "" - commit_message: "Add automated changelog yaml from template for bot PR" - changie_kind: ${{ matrix.changie_kind }} - label: ${{ matrix.label }} - custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" \ No newline at end of file + # - name: Create and commit changelog on bot PR + # if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" + # id: bot_changelog + # uses: emmyoop/changie_bot@main + # with: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # commit_author_name: "Github Build Bot" + # commit_author_email: "" + # commit_message: "Add automated changelog yaml from template for bot PR" + # changie_kind: ${{ matrix.changie_kind }} + # label: ${{ matrix.label }} + # custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" \ No newline at end of file From 428fd44b87a84be1bd5f6e623c12f3cb4477dd57 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:47:00 -0500 Subject: [PATCH 030/133] again --- .github/workflows/changie_bot_testing.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index cee4ae8e..0e70459e 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -70,6 +70,9 @@ jobs: - name: Debug 7 if: "!contains(github.event.pull_request.labels.*.name, '<${{ matrix.label }}>')" run: echo "in not carrot contains" + - name: debug 8 + if: "contains(github.event.pull_request.labels.*.name, 'dependencies')" + run: echo made it here # - name: Create and commit changelog on bot PR # if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From 38de9b2c2366dc5c1a42cfdcf55e92c789913e59 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:50:47 -0500 Subject: [PATCH 031/133] more --- .github/workflows/changie_bot_testing.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 0e70459e..57dceadb 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -71,8 +71,16 @@ jobs: if: "!contains(github.event.pull_request.labels.*.name, '<${{ matrix.label }}>')" run: echo "in not carrot contains" - name: debug 8 - if: "contains(github.event.pull_request.labels.*.name, 'dependencies')" + if: "contains(github.event.labeled.labels.*.name, 'dependencies')" run: echo made it here + - name: Debug 9 + if: ${{ contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}') }} + run: | + echo "in contains" + - name: Debug 10 + if: ${{ !contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}') }} + run: | + echo "in not contains" # - name: Create and commit changelog on bot PR # if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" From a6dc0c64ae368ca7c237e9e33e2a403de1b812e7 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:53:23 -0500 Subject: [PATCH 032/133] again --- .github/workflows/changie_bot_testing.yml | 59 +++++------------------ 1 file changed, 12 insertions(+), 47 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 57dceadb..ae32630f 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -46,51 +46,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Debug 1 - if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" - run: | - echo "in contains" - echo '${{ matrix.label }}' - echo ${{ matrix.label }} - - name: Debug 2 - if: "!contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" - run: echo "in !contains" - - name: Debug 3 - if: "contains(github.event.pull_request.labels.*.name, ${{ matrix.label }})" - run: echo "in quoted contains" - - name: Debug 4 - if: "!contains(github.event.pull_request.labels.*.name, ${{ matrix.label }})" - run: echo "in quoted !contains" - - name: Debug 5 - if: contains(github.event.pull_request.labels.*.name, ${{ matrix.label }}) - run: echo "in unquoted contains" - - name: Debug 6 - if: contains(github.event.pull_request.labels.*.name, '<${{ matrix.label }}>') - run: echo "in carrot contains" - - name: Debug 7 - if: "!contains(github.event.pull_request.labels.*.name, '<${{ matrix.label }}>')" - run: echo "in not carrot contains" - - name: debug 8 - if: "contains(github.event.labeled.labels.*.name, 'dependencies')" - run: echo made it here - - name: Debug 9 - if: ${{ contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}') }} - run: | - echo "in contains" - - name: Debug 10 - if: ${{ !contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}') }} - run: | - echo "in not contains" - # - name: Create and commit changelog on bot PR - # if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" - # id: bot_changelog - # uses: emmyoop/changie_bot@main - # with: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # commit_author_name: "Github Build Bot" - # commit_author_email: "" - # commit_message: "Add automated changelog yaml from template for bot PR" - # changie_kind: ${{ matrix.changie_kind }} - # label: ${{ matrix.label }} - # custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" \ No newline at end of file + - name: Create and commit changelog on bot PR + if: ${{ contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}') }} + id: bot_changelog + uses: emmyoop/changie_bot@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + commit_author_name: "Github Build Bot" + commit_author_email: "" + commit_message: "Add automated changelog yaml from template for bot PR" + changie_kind: ${{ matrix.changie_kind }} + label: ${{ matrix.label }} + custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" \ No newline at end of file From 79dad9f219bb1b4fa43443b5fdb70216c0fe7b0c Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:58:05 -0500 Subject: [PATCH 033/133] more --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index ae32630f..e78b717d 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -48,7 +48,7 @@ jobs: steps: - name: Create and commit changelog on bot PR - if: ${{ contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}') }} + if: ${{ contains(github.event.pull_request.labels.*.name, ${{ matrix.label }}) }} id: bot_changelog uses: emmyoop/changie_bot@main with: From 2889d32bf04ea42ca80830d4cfee124d153eebad Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 21:59:27 -0500 Subject: [PATCH 034/133] more --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index e78b717d..17f72443 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -48,7 +48,7 @@ jobs: steps: - name: Create and commit changelog on bot PR - if: ${{ contains(github.event.pull_request.labels.*.name, ${{ matrix.label }}) }} + if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label ) }} id: bot_changelog uses: emmyoop/changie_bot@main with: From b8207247d57c38efaf393cca3d92b3ad5e1bb39a Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 02:59:57 +0000 Subject: [PATCH 035/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-025956.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-025956.yaml diff --git a/.changes/unreleased/Dependency-20220831-025956.yaml b/.changes/unreleased/Dependency-20220831-025956.yaml new file mode 100644 index 00000000..f7278ad1 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-025956.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T02:59:56.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 33 From 3d0aa10b2f255c94fffdbf5dfb15b960bcae1b5a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 22:02:00 -0500 Subject: [PATCH 036/133] delete file --- .changes/unreleased/Dependency-20220831-025956.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-025956.yaml diff --git a/.changes/unreleased/Dependency-20220831-025956.yaml b/.changes/unreleased/Dependency-20220831-025956.yaml deleted file mode 100644 index f7278ad1..00000000 --- a/.changes/unreleased/Dependency-20220831-025956.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T02:59:56.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 33 From 0019a1671fca97ed8ccfb6db920652a4035ad566 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:02:39 +0000 Subject: [PATCH 037/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-030238.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-030238.yaml diff --git a/.changes/unreleased/Dependency-20220831-030238.yaml b/.changes/unreleased/Dependency-20220831-030238.yaml new file mode 100644 index 00000000..89a19db4 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-030238.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:02:38.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 34 From 9c3e7d4f9771a7d99a5af8ff56336ca1b71977d0 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 22:03:40 -0500 Subject: [PATCH 038/133] change to only labeled --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 17f72443..a9b01a1b 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -28,7 +28,7 @@ name: Bot Changelog on: pull_request: # catch when the PR is opened with the label or when the label is added - types: [opened, labeled] + types: [labeled] permissions: contents: write From c3fd20ba54db6a8d9d5586015f933623e62e5c75 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 22:03:54 -0500 Subject: [PATCH 039/133] remove --- .changes/unreleased/Dependency-20220831-030238.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-030238.yaml diff --git a/.changes/unreleased/Dependency-20220831-030238.yaml b/.changes/unreleased/Dependency-20220831-030238.yaml deleted file mode 100644 index 89a19db4..00000000 --- a/.changes/unreleased/Dependency-20220831-030238.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T03:02:38.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 34 From c9f0c632e5c63dfd74300a34b7ea9bebb7857d3e Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:04:36 +0000 Subject: [PATCH 040/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-030436.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-030436.yaml diff --git a/.changes/unreleased/Dependency-20220831-030436.yaml b/.changes/unreleased/Dependency-20220831-030436.yaml new file mode 100644 index 00000000..1bf33364 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-030436.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:04:36.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 35 From f7784ff1e58de1425c0169ff05684391961502f0 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:05:41 +0000 Subject: [PATCH 041/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-030541.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-030541.yaml diff --git a/.changes/unreleased/Dependency-20220831-030541.yaml b/.changes/unreleased/Dependency-20220831-030541.yaml new file mode 100644 index 00000000..4837b289 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-030541.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:05:41.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 35 From 9ae31e6d55631df1689a2dd0265af27def103f65 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 22:08:16 -0500 Subject: [PATCH 042/133] remove --- .changes/unreleased/Dependency-20220831-030436.yaml | 7 ------- .changes/unreleased/Dependency-20220831-030541.yaml | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-030436.yaml delete mode 100644 .changes/unreleased/Dependency-20220831-030541.yaml diff --git a/.changes/unreleased/Dependency-20220831-030436.yaml b/.changes/unreleased/Dependency-20220831-030436.yaml deleted file mode 100644 index 1bf33364..00000000 --- a/.changes/unreleased/Dependency-20220831-030436.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T03:04:36.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 35 diff --git a/.changes/unreleased/Dependency-20220831-030541.yaml b/.changes/unreleased/Dependency-20220831-030541.yaml deleted file mode 100644 index 4837b289..00000000 --- a/.changes/unreleased/Dependency-20220831-030541.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T03:05:41.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 35 From 9485cf71174bd3d7072e626b7ead7b09f27da962 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:08:56 +0000 Subject: [PATCH 043/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-030856.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-030856.yaml diff --git a/.changes/unreleased/Dependency-20220831-030856.yaml b/.changes/unreleased/Dependency-20220831-030856.yaml new file mode 100644 index 00000000..9ff9bdf2 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-030856.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:08:56.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 35 From 3aa804316fe7a9be009982aaf727b118b39093fb Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:09:52 +0000 Subject: [PATCH 044/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-030951.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-030951.yaml diff --git a/.changes/unreleased/Dependency-20220831-030951.yaml b/.changes/unreleased/Dependency-20220831-030951.yaml new file mode 100644 index 00000000..265232fa --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-030951.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:09:51.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 35 From 321917b47746a9b48735c89743480b15aa037124 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:19:34 +0000 Subject: [PATCH 045/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-031934.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-031934.yaml diff --git a/.changes/unreleased/Dependency-20220831-031934.yaml b/.changes/unreleased/Dependency-20220831-031934.yaml new file mode 100644 index 00000000..f53950ba --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-031934.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:19:34.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 35 From bf6ca6fe1f63785d9a3f8550ccc3294c37ab73bc Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 30 Aug 2022 22:20:32 -0500 Subject: [PATCH 046/133] remove --- .changes/unreleased/Dependency-20220831-030856.yaml | 7 ------- .changes/unreleased/Dependency-20220831-030951.yaml | 7 ------- .changes/unreleased/Dependency-20220831-031934.yaml | 7 ------- 3 files changed, 21 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220831-030856.yaml delete mode 100644 .changes/unreleased/Dependency-20220831-030951.yaml delete mode 100644 .changes/unreleased/Dependency-20220831-031934.yaml diff --git a/.changes/unreleased/Dependency-20220831-030856.yaml b/.changes/unreleased/Dependency-20220831-030856.yaml deleted file mode 100644 index 9ff9bdf2..00000000 --- a/.changes/unreleased/Dependency-20220831-030856.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T03:08:56.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 35 diff --git a/.changes/unreleased/Dependency-20220831-030951.yaml b/.changes/unreleased/Dependency-20220831-030951.yaml deleted file mode 100644 index 265232fa..00000000 --- a/.changes/unreleased/Dependency-20220831-030951.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T03:09:51.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 35 diff --git a/.changes/unreleased/Dependency-20220831-031934.yaml b/.changes/unreleased/Dependency-20220831-031934.yaml deleted file mode 100644 index f53950ba..00000000 --- a/.changes/unreleased/Dependency-20220831-031934.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "Emmyoop patch 5" -time: 2022-08-31T03:19:34.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 35 From f879896b77cc06d3da2e085db1b09b4b3de73bc1 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 03:21:25 +0000 Subject: [PATCH 047/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-032125.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-032125.yaml diff --git a/.changes/unreleased/Dependency-20220831-032125.yaml b/.changes/unreleased/Dependency-20220831-032125.yaml new file mode 100644 index 00000000..2f3dd589 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-032125.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "Emmyoop patch 5" +time: 2022-08-31T03:21:25.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 36 From bdae740732c17bf83e76ffad10a7fa32d5b00869 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 31 Aug 2022 10:23:46 -0500 Subject: [PATCH 048/133] fix format --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 7c47b762..f7706d6a 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -48,7 +48,7 @@ jobs: steps: - name: Create and commit changelog on bot PR - if: "contains(github.event.pull_request.labels.*.name, '${{ matrix.label }}')" + if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog uses: emmyoop/changie_bot@main with: From 13d041702081eadd0676216a97606e3a9241c32f Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 31 Aug 2022 10:26:06 -0500 Subject: [PATCH 049/133] change trigger --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index f7706d6a..0d624657 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -28,7 +28,7 @@ name: Bot Changelog on: pull_request: # catch when the PR is opened with the label or when the label is added - types: [opened, labeled] + types: [labeled] permissions: contents: write From afc3da9331e40c1a181879ba5d111ddb0475dd02 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 31 Aug 2022 13:01:04 -0500 Subject: [PATCH 050/133] change --- change_me.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change_me.txt b/change_me.txt index c3af6eb8..52e04c80 100644 --- a/change_me.txt +++ b/change_me.txt @@ -1 +1 @@ -This file changes! \ No newline at end of file +This file changed! \ No newline at end of file From b21c41e154c21e142a65ca5d85697f96949f2f1a Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Wed, 31 Aug 2022 18:01:42 +0000 Subject: [PATCH 051/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220831-180142.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220831-180142.yaml diff --git a/.changes/unreleased/Dependency-20220831-180142.yaml b/.changes/unreleased/Dependency-20220831-180142.yaml new file mode 100644 index 00000000..18e577e8 --- /dev/null +++ b/.changes/unreleased/Dependency-20220831-180142.yaml @@ -0,0 +1,7 @@ +kind: "Dependency" +body: "change" +time: $(date +%Y-%m-%dT%H:%M:%S.00000Z) +custom: + Author: emmyoop + Issue: 4904 + PR: 41 From aebf2692a47dad37b7b4aeecfbd47bf098261611 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Sep 2022 07:28:28 -0500 Subject: [PATCH 052/133] fixed tag --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 0d624657..b2198c1a 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -50,7 +50,7 @@ jobs: - name: Create and commit changelog on bot PR if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog - uses: emmyoop/changie_bot@main + uses: emmyoop/changie_bot@v1.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} commit_author_name: "Github Build Bot" From 4889709daaad5905018831ba9b182019cf86ab2c Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Sep 2022 07:29:09 -0500 Subject: [PATCH 053/133] change --- change_me.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change_me.txt b/change_me.txt index c3af6eb8..129bfe4c 100644 --- a/change_me.txt +++ b/change_me.txt @@ -1 +1 @@ -This file changes! \ No newline at end of file +This file changes! Quite a bit. \ No newline at end of file From 8e411c099be9a848dbfd634a9a75e53920511ab9 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Tue, 6 Sep 2022 12:29:49 +0000 Subject: [PATCH 054/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220906-122946.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220906-122946.yaml diff --git a/.changes/unreleased/Dependency-20220906-122946.yaml b/.changes/unreleased/Dependency-20220906-122946.yaml new file mode 100644 index 00000000..fdd5b06f --- /dev/null +++ b/.changes/unreleased/Dependency-20220906-122946.yaml @@ -0,0 +1,7 @@ +kind: Dependency +body: "change" +time: 2022-09-06T12:29:46.00000Z +custom: + Author: emmyoop + Issue: 4904 + PR: 45 From 386bc1f19c28df82e2dfb9fb2310146e22331f14 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Sep 2022 07:50:44 -0500 Subject: [PATCH 055/133] Update changie_bot_testing.yml --- .github/workflows/changie_bot_testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index b2198c1a..e2c74773 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -50,7 +50,7 @@ jobs: - name: Create and commit changelog on bot PR if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog - uses: emmyoop/changie_bot@v1.0 + uses: emmyoop/changie_bot@v1.0.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} commit_author_name: "Github Build Bot" @@ -58,4 +58,4 @@ jobs: commit_message: "Add automated changelog yaml from template for bot PR" changie_kind: ${{ matrix.changie_kind }} label: ${{ matrix.label }} - custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" \ No newline at end of file + custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" From f45445b4af06aa1231518d55caba938ee6121490 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Sep 2022 07:51:02 -0500 Subject: [PATCH 056/133] Delete Dependency-20220906-122946.yaml --- .changes/unreleased/Dependency-20220906-122946.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220906-122946.yaml diff --git a/.changes/unreleased/Dependency-20220906-122946.yaml b/.changes/unreleased/Dependency-20220906-122946.yaml deleted file mode 100644 index fdd5b06f..00000000 --- a/.changes/unreleased/Dependency-20220906-122946.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Dependency -body: "change" -time: 2022-09-06T12:29:46.00000Z -custom: - Author: emmyoop - Issue: 4904 - PR: 45 From 97f382a1f8d6a6807e7c5452d5ee8caebc46fb85 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Tue, 6 Sep 2022 12:51:29 +0000 Subject: [PATCH 057/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220906-125126.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220906-125126.yaml diff --git a/.changes/unreleased/Dependency-20220906-125126.yaml b/.changes/unreleased/Dependency-20220906-125126.yaml new file mode 100644 index 00000000..82efe5da --- /dev/null +++ b/.changes/unreleased/Dependency-20220906-125126.yaml @@ -0,0 +1,7 @@ +kind: "Dependency" +body: "change" +time: $(date +%Y-%m-%dT%H:%M:%S.00000Z) +custom: + Author: emmyoop + Issue: 4904 + PR: 45 From 0a3b90aeafbe8da5f4b3c388f4ea8456f61183e0 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Sep 2022 08:31:11 -0500 Subject: [PATCH 058/133] change --- .github/workflows/changie_bot_testing.yml | 2 +- change_me.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index e2c74773..572625ed 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -58,4 +58,4 @@ jobs: commit_message: "Add automated changelog yaml from template for bot PR" changie_kind: ${{ matrix.changie_kind }} label: ${{ matrix.label }} - custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: 4904\n PR: ${{ github.event.pull_request.number }}" + custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: \n PR: ${{ github.event.pull_request.number }}" diff --git a/change_me.txt b/change_me.txt index c3af6eb8..99cd5d9a 100644 --- a/change_me.txt +++ b/change_me.txt @@ -1 +1 @@ -This file changes! \ No newline at end of file +This file changes! asd \ No newline at end of file From 62d476586e06724def013d0abc178f2db9b7ab0d Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Tue, 6 Sep 2022 13:31:50 +0000 Subject: [PATCH 059/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220906-133147.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220906-133147.yaml diff --git a/.changes/unreleased/Dependency-20220906-133147.yaml b/.changes/unreleased/Dependency-20220906-133147.yaml new file mode 100644 index 00000000..3e4c4889 --- /dev/null +++ b/.changes/unreleased/Dependency-20220906-133147.yaml @@ -0,0 +1,7 @@ +kind: "Dependency" +body: "change" +time: $(date +%Y-%m-%dT%H:%M:%S.00000Z) +custom: + Author: emmyoop + Issue: + PR: 46 From 267bdf4ce7a33e79b148753545ea2c40d615610e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Sep 2022 08:50:28 -0500 Subject: [PATCH 060/133] Delete Dependency-20220906-133147.yaml --- .changes/unreleased/Dependency-20220906-133147.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220906-133147.yaml diff --git a/.changes/unreleased/Dependency-20220906-133147.yaml b/.changes/unreleased/Dependency-20220906-133147.yaml deleted file mode 100644 index 3e4c4889..00000000 --- a/.changes/unreleased/Dependency-20220906-133147.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: "Dependency" -body: "change" -time: $(date +%Y-%m-%dT%H:%M:%S.00000Z) -custom: - Author: emmyoop - Issue: - PR: 46 From a6a8b4c8d4f64aa7fdd242aae50c670a521f0b6d Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Tue, 6 Sep 2022 13:51:06 +0000 Subject: [PATCH 061/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20220906-135103.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20220906-135103.yaml diff --git a/.changes/unreleased/Dependency-20220906-135103.yaml b/.changes/unreleased/Dependency-20220906-135103.yaml new file mode 100644 index 00000000..d27b57a7 --- /dev/null +++ b/.changes/unreleased/Dependency-20220906-135103.yaml @@ -0,0 +1,7 @@ +kind: "Dependency" +body: "change" +time: 2022-09-06T13:51:03.00000Z +custom: + Author: emmyoop + Issue: + PR: 46 From 45f864fc8778e9c20544fdfcc2e9766bff963294 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:41:05 -0500 Subject: [PATCH 062/133] create play workflow --- .github/workflows/testing_vars.yml | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/testing_vars.yml diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml new file mode 100644 index 00000000..edff3380 --- /dev/null +++ b/.github/workflows/testing_vars.yml @@ -0,0 +1,36 @@ + + + +name: "Testing Passing Around Variables" + +on: + workflow_dispatch: + + +permissions: read-all + +jobs: + job_1: + runs-on: ubuntu-latest + outputs: + issueId: ${{ steps.extract.outputs.issueId }} + + steps: + - name: Set output + id: extract + env: + TITLE: "[CT-1428] just testing" + run: | + issueId=$(echo -n $TITLE | awk '{print $1}' | awk -F'[][]' '{print $2}') + echo "issueId=${issueId}" >> $GITHUB_STATE + + job_2: + runs-on: ubuntu-latest + needs: job_1 + steps: + - name: "Print Job 1 Outputs" + shell: bash + id: echo_inputs + run: | + echo "all variables defined as ouputs in previous jobs" + echo "Issue ID: ${{ needs.job_1.outputs.issueId }}" \ No newline at end of file From 51a6e79c251d93a941f43f243fe5547a86dc968d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:45:43 -0500 Subject: [PATCH 063/133] add more vvar options --- .github/workflows/testing_vars.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index edff3380..7e56a7dd 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -23,6 +23,10 @@ jobs: run: | issueId=$(echo -n $TITLE | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE + - name: Print output + id: echo + run: | + echo "Issue ID: ${{ steps.extract.outputs.issueId }}" job_2: runs-on: ubuntu-latest @@ -33,4 +37,5 @@ jobs: id: echo_inputs run: | echo "all variables defined as ouputs in previous jobs" - echo "Issue ID: ${{ needs.job_1.outputs.issueId }}" \ No newline at end of file + echo "Issue ID: ${{ needs.job_1.outputs.issueId }}" + echo "Issue ID: (env) ${{ env.issueId }}" From 8f1def62596a74f23bf546c47a8116eeb5970d71 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:56:08 -0500 Subject: [PATCH 064/133] more --- .github/workflows/testing_vars.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 7e56a7dd..a8f98390 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -26,6 +26,7 @@ jobs: - name: Print output id: echo run: | + echo "Title: $TITLE" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" job_2: From e27ed53a2a4b26bb18ce7197f8d3a1c837894e1d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:57:05 -0500 Subject: [PATCH 065/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index a8f98390..dc0075d6 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -26,7 +26,7 @@ jobs: - name: Print output id: echo run: | - echo "Title: $TITLE" + echo "Title: " $TITLE echo "Issue ID: ${{ steps.extract.outputs.issueId }}" job_2: From 28d1bc9b2b7160a08028ea67b573176433236e0f Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:57:27 -0500 Subject: [PATCH 066/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index dc0075d6..305b5ff8 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -21,7 +21,7 @@ jobs: env: TITLE: "[CT-1428] just testing" run: | - issueId=$(echo -n $TITLE | awk '{print $1}' | awk -F'[][]' '{print $2}') + issueId=$(echo -n ${TITLE} | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE - name: Print output id: echo From b7d6fb2d60e8460b8be3ecdfabb3ba86e09e2f0d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:58:21 -0500 Subject: [PATCH 067/133] more --- .github/workflows/testing_vars.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 305b5ff8..c473676a 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -26,7 +26,8 @@ jobs: - name: Print output id: echo run: | - echo "Title: " $TITLE + echo "Title: " ${{TITLE}} + echo "Title: " ${{env.TITLE}} echo "Issue ID: ${{ steps.extract.outputs.issueId }}" job_2: From 375cebf17f6515a4b1c1b67cb9dd07f7ada2cb15 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 12:59:43 -0500 Subject: [PATCH 068/133] more --- .github/workflows/testing_vars.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index c473676a..643ece65 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -26,8 +26,9 @@ jobs: - name: Print output id: echo run: | - echo "Title: " ${{TITLE}} - echo "Title: " ${{env.TITLE}} + echo "Title: ${TITLE}" + echo "Title: ${{env.TITLE}}" + echo "Title: ${{env.TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" job_2: From 75c8660b09e502042ecbda84079ffd8f70b92ff5 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:01:29 -0500 Subject: [PATCH 069/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 643ece65..7411fc04 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -27,7 +27,7 @@ jobs: id: echo run: | echo "Title: ${TITLE}" - echo "Title: ${{env.TITLE}}" + echo "Title: ${{job_1.extract.env.TITLE}}" echo "Title: ${{env.TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" From 622670a53006c78a250d633d4af5cba8cfdb76e5 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:02:15 -0500 Subject: [PATCH 070/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 7411fc04..5516a47a 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -27,7 +27,7 @@ jobs: id: echo run: | echo "Title: ${TITLE}" - echo "Title: ${{job_1.extract.env.TITLE}}" + echo "Title: ${{extract.env.TITLE}}" echo "Title: ${{env.TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" From 847c1039b9522d01122fc707c209bfa2811a52ab Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:03:42 -0500 Subject: [PATCH 071/133] more --- .github/workflows/testing_vars.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 5516a47a..907aaa33 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -23,6 +23,8 @@ jobs: run: | issueId=$(echo -n ${TITLE} | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE + echo "Title: ${{env.TITLE}}" + echo "Title: env.TITLE" - name: Print output id: echo run: | From d0154200836d319b3c5d51d5d6635be596107942 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:04:05 -0500 Subject: [PATCH 072/133] more --- .github/workflows/testing_vars.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 907aaa33..5a31790c 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -29,7 +29,6 @@ jobs: id: echo run: | echo "Title: ${TITLE}" - echo "Title: ${{extract.env.TITLE}}" echo "Title: ${{env.TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" From 518815a49fef673705e876985fc3e004040eabc4 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:04:45 -0500 Subject: [PATCH 073/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 5a31790c..2a78a3e4 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -24,7 +24,7 @@ jobs: issueId=$(echo -n ${TITLE} | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" - echo "Title: env.TITLE" + echo "Title: $TITLE" - name: Print output id: echo run: | From a0aa1831d33756fa076dd5811a9b45f8492b8a20 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:05:34 -0500 Subject: [PATCH 074/133] more --- .github/workflows/testing_vars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 2a78a3e4..7d68db9f 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -18,13 +18,13 @@ jobs: steps: - name: Set output id: extract - env: - TITLE: "[CT-1428] just testing" run: | issueId=$(echo -n ${TITLE} | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "Title: $TITLE" + env: + TITLE: "[CT-1428] just testing" - name: Print output id: echo run: | From adb0f17c775105c91060ba98460f295bf37716cd Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:07:07 -0500 Subject: [PATCH 075/133] more --- .github/workflows/testing_vars.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 7d68db9f..e7a1968e 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -18,13 +18,13 @@ jobs: steps: - name: Set output id: extract + env: + TITLE: "[CT-1428] just testing" run: | - issueId=$(echo -n ${TITLE} | awk '{print $1}' | awk -F'[][]' '{print $2}') + issueId=$(echo -n ${{env.TITLE}} | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "Title: $TITLE" - env: - TITLE: "[CT-1428] just testing" - name: Print output id: echo run: | From 1e43683fa2aaadc92e897f161af89c25fd9d34ff Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:07:51 -0500 Subject: [PATCH 076/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index e7a1968e..a391d9cb 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -21,7 +21,7 @@ jobs: env: TITLE: "[CT-1428] just testing" run: | - issueId=$(echo -n ${{env.TITLE}} | awk '{print $1}' | awk -F'[][]' '{print $2}') + issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "Title: $TITLE" From 390604fce5f134043ea969b4a661094d2c637f70 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:09:14 -0500 Subject: [PATCH 077/133] more --- .github/workflows/testing_vars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index a391d9cb..0a408b7e 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -23,13 +23,13 @@ jobs: run: | issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE + echo "SET_TITLE=${{env.TITLE}}" >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "Title: $TITLE" - name: Print output id: echo run: | - echo "Title: ${TITLE}" - echo "Title: ${{env.TITLE}}" + echo "Title: ${{env.SET_TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" job_2: From 32ce579a80d36195333671ec5f8dbd621c271d50 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:10:08 -0500 Subject: [PATCH 078/133] more --- .github/workflows/testing_vars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 0a408b7e..f35d9af5 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -23,9 +23,9 @@ jobs: run: | issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=${issueId}" >> $GITHUB_STATE - echo "SET_TITLE=${{env.TITLE}}" >> $GITHUB_STATE + echo "SET_TITLE="${{env.TITLE}} >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" - echo "Title: $TITLE" + echo "issueId: $issueId" - name: Print output id: echo run: | From fb8657b31438af903d43ef3ad46f3ff392a61807 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:11:11 -0500 Subject: [PATCH 079/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index f35d9af5..c2fd8e5e 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -22,7 +22,7 @@ jobs: TITLE: "[CT-1428] just testing" run: | issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') - echo "issueId=${issueId}" >> $GITHUB_STATE + echo "issueId="${issueId} >> $GITHUB_STATE echo "SET_TITLE="${{env.TITLE}} >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "issueId: $issueId" From ea6fd884cc956fa8ec7ad7396e19694c6cf569a1 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:14:56 -0500 Subject: [PATCH 080/133] more --- .github/workflows/testing_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index c2fd8e5e..0cbb0c0b 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -22,7 +22,7 @@ jobs: TITLE: "[CT-1428] just testing" run: | issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') - echo "issueId="${issueId} >> $GITHUB_STATE + echo "issueId=$issueId" >> $GITHUB_STATE echo "SET_TITLE="${{env.TITLE}} >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "issueId: $issueId" From 6fe90a973fa2db0c7a8417424290241b617a8bc4 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:18:07 -0500 Subject: [PATCH 081/133] more --- .github/workflows/testing_vars.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 0cbb0c0b..9d704271 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest outputs: issueId: ${{ steps.extract.outputs.issueId }} + SET_TITLE: ${{ steps.extract.outputs.SET_TITLE }} steps: - name: Set output @@ -43,3 +44,4 @@ jobs: echo "all variables defined as ouputs in previous jobs" echo "Issue ID: ${{ needs.job_1.outputs.issueId }}" echo "Issue ID: (env) ${{ env.issueId }}" + echo "SET_TITLE: ${{ env.SET_TITLE }}" From eb3211a6183e47c0e1dfb9c3c5fce8256108c1e2 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:19:19 -0500 Subject: [PATCH 082/133] more --- .github/workflows/testing_vars.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index 9d704271..b131ea57 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest outputs: issueId: ${{ steps.extract.outputs.issueId }} + STRING_VAR: ${{ steps.extract.outputs.STRING_VAR }} SET_TITLE: ${{ steps.extract.outputs.SET_TITLE }} steps: @@ -25,6 +26,7 @@ jobs: issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') echo "issueId=$issueId" >> $GITHUB_STATE echo "SET_TITLE="${{env.TITLE}} >> $GITHUB_STATE + echo "STRING_VAR="some value" >> $GITHUB_STATE echo "Title: ${{env.TITLE}}" echo "issueId: $issueId" - name: Print output @@ -32,6 +34,7 @@ jobs: run: | echo "Title: ${{env.SET_TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" + echo "STRING_VAR: ${{ steps.extract.outputs.STRING_VAR }}" job_2: runs-on: ubuntu-latest @@ -45,3 +48,5 @@ jobs: echo "Issue ID: ${{ needs.job_1.outputs.issueId }}" echo "Issue ID: (env) ${{ env.issueId }}" echo "SET_TITLE: ${{ env.SET_TITLE }}" + echo "STRING_VAR: ${{ needs.job_1.outputs.STRING_VAR }}" + echo "STRING_VAR: ${{ env.STRING_VAR }}" From 954282a9d00905d1faf4040272ae45ec16bf57d2 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:31:50 -0500 Subject: [PATCH 083/133] more --- .github/workflows/triage-labels.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/triage-labels.yml diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml new file mode 100644 index 00000000..24743595 --- /dev/null +++ b/.github/workflows/triage-labels.yml @@ -0,0 +1,15 @@ +name: Update Triage Label + +on: issue_comment + +defaults: + run: + shell: bash + +permissions: + issues: write + +jobs: + triage_label: + uses: dbt-labs/actions/.github/workflows/triage-labels.yml@main + secrets: inherit \ No newline at end of file From b91f99191d75025339ae09541fed4d35af7b36f1 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:32:20 -0500 Subject: [PATCH 084/133] more --- .github/workflows/triage-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 24743595..6f6df643 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -1,4 +1,4 @@ -name: Update Triage Label +name: Update Triage Label Internal on: issue_comment From 88e45536f086eeddf0b4756ae7568eb2f12a1948 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:33:00 -0500 Subject: [PATCH 085/133] more --- .github/workflows/.trigger_issue_comments.yml | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/.trigger_issue_comments.yml diff --git a/.github/workflows/.trigger_issue_comments.yml b/.github/workflows/.trigger_issue_comments.yml deleted file mode 100644 index 890e33d0..00000000 --- a/.github/workflows/.trigger_issue_comments.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Update Triage Label - -on: issue_comment - -defaults: - run: - shell: bash - -permissions: - issues: write - -jobs: - triage_label: - if: contains(github.event.issue.labels.*.name, 'awaiting_response') - runs-on: ubuntu-latest - steps: - - name: initial labeling - uses: andymckay/labeler@master - with: - add-labels: "triage" - remove-labels: "awaiting_response" From fa37f57d8f38323734b26f016133d753acb1d505 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:33:51 -0500 Subject: [PATCH 086/133] more --- .github/workflows/triage-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 6f6df643..7175b514 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -11,5 +11,5 @@ permissions: jobs: triage_label: - uses: dbt-labs/actions/.github/workflows/triage-labels.yml@main + uses: dbt-labs/actions/.github/workflows/replace-label.yml@main secrets: inherit \ No newline at end of file From 1ca03bb5d09fdc0914af3fdfd303b9f84eeeffd5 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:36:28 -0500 Subject: [PATCH 087/133] more --- .github/workflows/triage-labels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 7175b514..9bb1e3eb 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -12,4 +12,7 @@ permissions: jobs: triage_label: uses: dbt-labs/actions/.github/workflows/replace-label.yml@main + with: + original_label: "awaiting_response" + new_label: "triage" secrets: inherit \ No newline at end of file From 3055785b84bd19b4b2f4553d523a2a1e52ab6d0c Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:37:34 -0500 Subject: [PATCH 088/133] more --- .github/workflows/triage-labels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 9bb1e3eb..e73fb598 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -15,4 +15,5 @@ jobs: with: original_label: "awaiting_response" new_label: "triage" - secrets: inherit \ No newline at end of file + secrets: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 7d5d95434d1cbb7b6de0476531167b37c98c206d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:38:13 -0500 Subject: [PATCH 089/133] more --- .github/workflows/triage-labels.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index e73fb598..819338b7 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -14,6 +14,4 @@ jobs: uses: dbt-labs/actions/.github/workflows/replace-label.yml@main with: original_label: "awaiting_response" - new_label: "triage" - secrets: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + new_label: "triage" \ No newline at end of file From 7ed032c4bf6585a0017f80f4e41689271c7112dc Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:39:00 -0500 Subject: [PATCH 090/133] more --- .github/workflows/triage-labels.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 819338b7..a0e9756c 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -14,4 +14,6 @@ jobs: uses: dbt-labs/actions/.github/workflows/replace-label.yml@main with: original_label: "awaiting_response" - new_label: "triage" \ No newline at end of file + new_label: "triage" + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From fc41bb4cf1e779e35a4c43d4151bdefc72339d6e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 13:47:50 -0500 Subject: [PATCH 091/133] more --- .github/workflows/testing_vars.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/testing_vars.yml b/.github/workflows/testing_vars.yml index b131ea57..5c01f2d9 100644 --- a/.github/workflows/testing_vars.yml +++ b/.github/workflows/testing_vars.yml @@ -14,7 +14,6 @@ jobs: runs-on: ubuntu-latest outputs: issueId: ${{ steps.extract.outputs.issueId }} - STRING_VAR: ${{ steps.extract.outputs.STRING_VAR }} SET_TITLE: ${{ steps.extract.outputs.SET_TITLE }} steps: @@ -24,9 +23,8 @@ jobs: TITLE: "[CT-1428] just testing" run: | issueId=$(echo -n "${{env.TITLE}}" | awk '{print $1}' | awk -F'[][]' '{print $2}') - echo "issueId=$issueId" >> $GITHUB_STATE - echo "SET_TITLE="${{env.TITLE}} >> $GITHUB_STATE - echo "STRING_VAR="some value" >> $GITHUB_STATE + echo "issueId=$issueId" >> $GITHUB_OUTPUT + echo "SET_TITLE="${{env.TITLE}} >> $GITHUB_OUTPUT echo "Title: ${{env.TITLE}}" echo "issueId: $issueId" - name: Print output @@ -34,7 +32,6 @@ jobs: run: | echo "Title: ${{env.SET_TITLE}}" echo "Issue ID: ${{ steps.extract.outputs.issueId }}" - echo "STRING_VAR: ${{ steps.extract.outputs.STRING_VAR }}" job_2: runs-on: ubuntu-latest @@ -48,5 +45,3 @@ jobs: echo "Issue ID: ${{ needs.job_1.outputs.issueId }}" echo "Issue ID: (env) ${{ env.issueId }}" echo "SET_TITLE: ${{ env.SET_TITLE }}" - echo "STRING_VAR: ${{ needs.job_1.outputs.STRING_VAR }}" - echo "STRING_VAR: ${{ env.STRING_VAR }}" From 4d55a18e49895feddb5225155f4719aa697853e7 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 14:12:55 -0500 Subject: [PATCH 092/133] remove secret --- .github/workflows/triage-labels.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index a0e9756c..819338b7 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -14,6 +14,4 @@ jobs: uses: dbt-labs/actions/.github/workflows/replace-label.yml@main with: original_label: "awaiting_response" - new_label: "triage" - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + new_label: "triage" \ No newline at end of file From 06fb3ba7d51f3ddb620d108c6a0130e468bd4db3 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Oct 2022 14:17:16 -0500 Subject: [PATCH 093/133] remove secret --- .github/workflows/triage-labels.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 819338b7..5c7e0193 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -11,7 +11,9 @@ permissions: jobs: triage_label: - uses: dbt-labs/actions/.github/workflows/replace-label.yml@main + uses: dbt-labs/actions/.github/workflows/replace-label.yml@er/add-gh-token with: original_label: "awaiting_response" - new_label: "triage" \ No newline at end of file + new_label: "triage" + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From f3062709bce8d5c7f50bf85957e2303f600b22e8 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 1 Nov 2022 11:12:59 -0500 Subject: [PATCH 094/133] Create label-printing.yml --- .github/workflows/label-printing.yml | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/label-printing.yml diff --git a/.github/workflows/label-printing.yml b/.github/workflows/label-printing.yml new file mode 100644 index 00000000..7a27ee4f --- /dev/null +++ b/.github/workflows/label-printing.yml @@ -0,0 +1,72 @@ +# **what?** +# grab multiple labels off an issue and run as a matrix + +name: Jira Issue Creation + +on: + workflow_dispatch: + +permissions: + issues: read + +jobs: + + find-labels: + runs-on: ubuntu-latest + outputs: + labels-json: ${{ steps.generate-labels.outputs.labels }} + labels-unformatted: ${{ steps.generate-labels.outputs.labels }} + steps: + - name: Generate Labels + id: generate-labels + run: | + LABELS='${{ toJSON(github.event.issue.labels.*.name) }}' + echo "labels-json=${LABELS}" >> $GITHUB_OUTPUT + LABELS-UNFORMATTED='${{ github.event.issue.labels.*.name }}' + echo "labels-unformatted=${LABELS-UNFORMATTED}" >> $GITHUB_OUTPUT + + print-labels-json-matrix: + runs-on: ubuntu-latest + needs: + - find-labels + strategy: + matrix: + label: ${{ fromJSON(needs.find-labels.outputs.labels-json) }} + steps: + - name: "[DEBUG] - Print Job Inputs" + shell: bash + id: echo_inputs + run: | + echo "all variables defined as ouputs in previous jobs" + echo "Running for label: ${{ matrix.label }}" + + print-labels-unformatted-matrix: + runs-on: ubuntu-latest + needs: + - find-labels + strategy: + matrix: + label: ${{ needs.find-labels.outputs.labels-unformatted }} + steps: + - name: "[DEBUG] - Print Job Inputs" + shell: bash + id: echo_inputs + run: | + echo "all variables defined as ouputs in previous jobs" + echo "Running for label: ${{ matrix.label }}" + + + print-labels-list: + runs-on: ubuntu-latest + needs: + - find-labels + steps: + - name: "[DEBUG] - Print Job Inputs" + shell: bash + id: echo_inputs + run: | + echo "all variables defined as ouputs in previous jobs" + echo "fromJSON label: ${{ fromJSON(needs.find-labels.outputs.labels-json) }}" + echo "Plain text label: ${{ needs.find-labels.outputs.labels-json }}" + + From f769178d791c18533a01e2d8e3404885f1f76389 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 1 Nov 2022 11:14:19 -0500 Subject: [PATCH 095/133] Update label-printing.yml --- .github/workflows/label-printing.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/label-printing.yml b/.github/workflows/label-printing.yml index 7a27ee4f..45a2e126 100644 --- a/.github/workflows/label-printing.yml +++ b/.github/workflows/label-printing.yml @@ -4,7 +4,8 @@ name: Jira Issue Creation on: - workflow_dispatch: + issues: + types: [opened, labeled] permissions: issues: read @@ -40,22 +41,6 @@ jobs: echo "all variables defined as ouputs in previous jobs" echo "Running for label: ${{ matrix.label }}" - print-labels-unformatted-matrix: - runs-on: ubuntu-latest - needs: - - find-labels - strategy: - matrix: - label: ${{ needs.find-labels.outputs.labels-unformatted }} - steps: - - name: "[DEBUG] - Print Job Inputs" - shell: bash - id: echo_inputs - run: | - echo "all variables defined as ouputs in previous jobs" - echo "Running for label: ${{ matrix.label }}" - - print-labels-list: runs-on: ubuntu-latest needs: From bb0e3a55e18be408d603d29e91ad53c1595daca1 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 1 Nov 2022 11:15:56 -0500 Subject: [PATCH 096/133] Update label-printing.yml --- .github/workflows/label-printing.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/label-printing.yml b/.github/workflows/label-printing.yml index 45a2e126..cb040252 100644 --- a/.github/workflows/label-printing.yml +++ b/.github/workflows/label-printing.yml @@ -16,15 +16,12 @@ jobs: runs-on: ubuntu-latest outputs: labels-json: ${{ steps.generate-labels.outputs.labels }} - labels-unformatted: ${{ steps.generate-labels.outputs.labels }} steps: - name: Generate Labels id: generate-labels run: | LABELS='${{ toJSON(github.event.issue.labels.*.name) }}' echo "labels-json=${LABELS}" >> $GITHUB_OUTPUT - LABELS-UNFORMATTED='${{ github.event.issue.labels.*.name }}' - echo "labels-unformatted=${LABELS-UNFORMATTED}" >> $GITHUB_OUTPUT print-labels-json-matrix: runs-on: ubuntu-latest From 0b4dca6d33678fb3098785ce29f773238c074ccf Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 1 Nov 2022 11:23:29 -0500 Subject: [PATCH 097/133] Update label-printing.yml --- .github/workflows/label-printing.yml | 40 ++++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/label-printing.yml b/.github/workflows/label-printing.yml index cb040252..f6f74323 100644 --- a/.github/workflows/label-printing.yml +++ b/.github/workflows/label-printing.yml @@ -1,7 +1,7 @@ # **what?** # grab multiple labels off an issue and run as a matrix -name: Jira Issue Creation +name: Label Play on: issues: @@ -15,28 +15,28 @@ jobs: find-labels: runs-on: ubuntu-latest outputs: - labels-json: ${{ steps.generate-labels.outputs.labels }} + labels: ${{ steps.generate-labels.outputs.labels }} steps: - name: Generate Labels id: generate-labels run: | LABELS='${{ toJSON(github.event.issue.labels.*.name) }}' - echo "labels-json=${LABELS}" >> $GITHUB_OUTPUT - - print-labels-json-matrix: - runs-on: ubuntu-latest - needs: - - find-labels - strategy: - matrix: - label: ${{ fromJSON(needs.find-labels.outputs.labels-json) }} - steps: - - name: "[DEBUG] - Print Job Inputs" - shell: bash - id: echo_inputs - run: | - echo "all variables defined as ouputs in previous jobs" - echo "Running for label: ${{ matrix.label }}" + echo "labels=${LABELS}" >> $GITHUB_OUTPUT + +# print-labels-json-matrix: +# runs-on: ubuntu-latest +# needs: +# - find-labels +# strategy: +# matrix: +# label: ${{ fromJSON(needs.find-labels.outputs.labels) }} +# steps: +# - name: "[DEBUG] - Print Job Inputs" +# shell: bash +# id: echo_inputs +# run: | +# echo "all variables defined as ouputs in previous jobs" +# echo "Running for label: ${{ matrix.label }}" print-labels-list: runs-on: ubuntu-latest @@ -48,7 +48,7 @@ jobs: id: echo_inputs run: | echo "all variables defined as ouputs in previous jobs" - echo "fromJSON label: ${{ fromJSON(needs.find-labels.outputs.labels-json) }}" - echo "Plain text label: ${{ needs.find-labels.outputs.labels-json }}" + echo "fromJSON label: ${{ fromJSON(needs.find-labels.outputs.labels) }}" + echo "Plain text label: ${{ needs.find-labels.outputs.labels }}" From 24d8f8e93abcda2e13048e7e1fc57ab8f7095719 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 1 Nov 2022 11:28:01 -0500 Subject: [PATCH 098/133] Update label-printing.yml --- .github/workflows/label-printing.yml | 34 +++++++++++++++------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/label-printing.yml b/.github/workflows/label-printing.yml index f6f74323..970c6a63 100644 --- a/.github/workflows/label-printing.yml +++ b/.github/workflows/label-printing.yml @@ -21,22 +21,24 @@ jobs: id: generate-labels run: | LABELS='${{ toJSON(github.event.issue.labels.*.name) }}' - echo "labels=${LABELS}" >> $GITHUB_OUTPUT - -# print-labels-json-matrix: -# runs-on: ubuntu-latest -# needs: -# - find-labels -# strategy: -# matrix: -# label: ${{ fromJSON(needs.find-labels.outputs.labels) }} -# steps: -# - name: "[DEBUG] - Print Job Inputs" -# shell: bash -# id: echo_inputs -# run: | -# echo "all variables defined as ouputs in previous jobs" -# echo "Running for label: ${{ matrix.label }}" + echo "labels<> $GITHUB_OUTPUT + echo "${LABELS}" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT + + print-labels-json-matrix: + runs-on: ubuntu-latest + needs: + - find-labels + strategy: + matrix: + label: ${{ fromJSON(needs.find-labels.outputs.labels) }} + steps: + - name: "[DEBUG] - Print Job Inputs" + shell: bash + id: echo_inputs + run: | + echo "all variables defined as ouputs in previous jobs" + echo "Running for label: ${{ matrix.label }}" print-labels-list: runs-on: ubuntu-latest From bdd060295e8d1e098edd0e0273980e075bd15d8d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 2 Nov 2022 14:15:38 -0500 Subject: [PATCH 099/133] Create github_output_testing.yml --- .github/workflows/github_output_testing.yml | 77 +++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 .github/workflows/github_output_testing.yml diff --git a/.github/workflows/github_output_testing.yml b/.github/workflows/github_output_testing.yml new file mode 100644 index 00000000..684d4543 --- /dev/null +++ b/.github/workflows/github_output_testing.yml @@ -0,0 +1,77 @@ +# **what?** +# This workflow will take the new version number to bump to. With that +# it will run versionbump to update the version number everywhere in the +# code base and then run changie to create the corresponding changelog. +# A PR will be created with the changes that can be reviewed before committing. + +# **why?** +# This is to aid in releasing dbt and making sure we have updated +# the version in all places and generated the changelog. + +# **when?** +# This is triggered manually + +name: Version Bump + +on: + workflow_dispatch: + +permissions: read-all + +jobs: + set-vars: + runs-on: ubuntu-latest + outputs: + package_name: ${{ steps.variables.outputs.package_name }} + steps: + - name: Set output value + id: variables + run: | + echo "package_name=dashes-are-cool" >> $GITHUB_OUTPUT + + transform-vars-1: + runs-on: ubuntu-latest + needs: [set-vars] + outputs: + build_arg_name1: ${{ steps.variables.outputs.build_arg_name1 }} + steps: + - name: Set output value + id: variables + run: | + echo "build_arg_name1="$(echo ${{ needs.set-vars.outputs.package_name }} | sed 's/\-/_/g') >> $GITHUB_OUTPUT + + transform-vars-2: + runs-on: ubuntu-latest + needs: [set-vars] + outputs: + build_arg_name2: ${{ steps.variables.outputs.build_arg_name2 }} + steps: + - name: Set output value + id: variables + run: | + echo "build_arg_name2=$(echo ${{ needs.set-vars.outputs.package_name }} | sed 's/\-/_/g')" >> $GITHUB_OUTPUT + + + transform-vars-3: + runs-on: ubuntu-latest + needs: [set-vars] + outputs: + build_arg_name3: ${{ steps.variables.outputs.build_arg_name3 }} + steps: + - name: Set output value + id: variables + run: | + PACKAGE_NAME=$(echo ${{ needs.set-vars.outputs.package_name }} | sed 's/\-/_/g') + echo "build_arg_name3=$PACKAGE_NAME" >> $GITHUB_OUTPUT + + + print-vars: + runs-on: ubuntu-latest + needs: [transform-vars-1, transform-vars-2, transform-vars-3] + steps: + - name: Print Vars + id: print + run: | + echo "${{ needs.transform-vars-1.outputs.build_arg_name1 }}" + echo "${{ needs.transform-vars-2.outputs.build_arg_name2 }}" + echo "${{ needs.transform-vars-3.outputs.build_arg_name3 }}" From 53d07d9edde75a8428f6bc686bb762dbef7f8a75 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 2 Nov 2022 14:19:29 -0500 Subject: [PATCH 100/133] Update github_output_testing.yml --- .github/workflows/github_output_testing.yml | 29 ++++++++++++--------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/github_output_testing.yml b/.github/workflows/github_output_testing.yml index 684d4543..bac57471 100644 --- a/.github/workflows/github_output_testing.yml +++ b/.github/workflows/github_output_testing.yml @@ -1,17 +1,7 @@ # **what?** -# This workflow will take the new version number to bump to. With that -# it will run versionbump to update the version number everywhere in the -# code base and then run changie to create the corresponding changelog. -# A PR will be created with the changes that can be reviewed before committing. +# Testing formatting with $GITHUB_OUTPUT -# **why?** -# This is to aid in releasing dbt and making sure we have updated -# the version in all places and generated the changelog. - -# **when?** -# This is triggered manually - -name: Version Bump +name: Test GITHUB_OUTPUT on: workflow_dispatch: @@ -35,6 +25,11 @@ jobs: outputs: build_arg_name1: ${{ steps.variables.outputs.build_arg_name1 }} steps: + - name: Print Var + run: | + echo "transform-vars-1" + echo "${{ needs.set-vars.outputs.package_name }}" + - name: Set output value id: variables run: | @@ -46,6 +41,11 @@ jobs: outputs: build_arg_name2: ${{ steps.variables.outputs.build_arg_name2 }} steps: + - name: Print Var + run: | + echo "transform-vars-2" + echo "${{ needs.set-vars.outputs.package_name }}" + - name: Set output value id: variables run: | @@ -58,6 +58,11 @@ jobs: outputs: build_arg_name3: ${{ steps.variables.outputs.build_arg_name3 }} steps: + - name: Print Var + run: | + echo "transform-vars-3" + echo "${{ needs.set-vars.outputs.package_name }}" + - name: Set output value id: variables run: | From 12e9e719889d15d78557503315614342682429c7 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Sun, 11 Dec 2022 11:57:02 -0600 Subject: [PATCH 101/133] Create team_membership.yml --- .github/workflows/team_membership.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/team_membership.yml diff --git a/.github/workflows/team_membership.yml b/.github/workflows/team_membership.yml new file mode 100644 index 00000000..dda644a0 --- /dev/null +++ b/.github/workflows/team_membership.yml @@ -0,0 +1,22 @@ +name: "Return Team Membership" + +on: + workflow_dispatch: + +permissions: read-all + +env: + ORG: emmyoop + TEAM: core + + +jobs: + job_1: + runs-on: ubuntu-latest + + steps: + - name: Set Core Team Membership for Changie Contributors exclusion + run: | + response=$(gh api -H "Accept: application/vnd.github+json" /orgs/{{env.ORG}}/teams/{{env.TEAM}}/members) + echo $response + echo 'CHANGIE_CORE_TEAM=?' >> $GITHUB_ENV From 2b787d9bbf7f6e6210fd31b5982ef6e1a0513d8b Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Sun, 11 Dec 2022 11:59:10 -0600 Subject: [PATCH 102/133] Update team_membership.yml --- .github/workflows/team_membership.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/team_membership.yml b/.github/workflows/team_membership.yml index dda644a0..9b43c907 100644 --- a/.github/workflows/team_membership.yml +++ b/.github/workflows/team_membership.yml @@ -6,7 +6,7 @@ on: permissions: read-all env: - ORG: emmyoop + ORG: rockmans TEAM: core From 05c53b78ad3129d13fd70505bdae9c7afd0af975 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 5 May 2023 09:01:17 -0500 Subject: [PATCH 103/133] update for changie testing --- .changie.yaml | 49 ++++++++++++++--------- .github/workflows/changie_bot_testing.yml | 11 ++++- 2 files changed, 38 insertions(+), 22 deletions(-) diff --git a/.changie.yaml b/.changie.yaml index 9b08a3ca..fcae30a2 100644 --- a/.changie.yaml +++ b/.changie.yaml @@ -2,29 +2,38 @@ changesDir: .changes unreleasedDir: unreleased headerPath: header.tpl.md versionHeaderPath: "" -versionFooterPath: "" changelogPath: CHANGELOG.md versionExt: md -versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}' +versionFormat: '## changie_bot {{.Version}} - {{.Time.Format "January 02, 2006"}}' kindFormat: '### {{.Kind}}' -changeFormat: '* {{.Body}}' -headerFormat: "" -footerFormat: "" +changeFormat: '- {{.Body}} ([#{{.Custom.Issue}}](https://github.com/emmyoop/changie_bot/issues/{{.Custom.Issue}}), [#{{.Custom.PR}}](https://github.com/emmyoop/changie_bot/pull/{{.Custom.PR}}))' + kinds: -- label: Added -- label: Changed -- label: Deprecated -- label: Removed -- label: Fixed -- label: Security + - label: Breaking Changes + - label: Features + - label: Fixes + - label: Docs + changeFormat: '- {{.Body}} ([dbt-docs/#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-docs/issues/{{.Custom.Issue}}), [dbt-docs/#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-docs/pull/{{.Custom.PR}}))' + - label: Under the Hood + - label: Dependencies + changeFormat: '- {{.Body}} ({{if ne .Custom.Issue ""}}[#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-core/issues/{{.Custom.Issue}}), {{end}}[#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-core/pull/{{.Custom.PR}}))' + - label: Security + changeFormat: '- {{.Body}} ({{if ne .Custom.Issue ""}}[#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-core/issues/{{.Custom.Issue}}), {{end}}[#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-core/pull/{{.Custom.PR}}))' + + +newlines: + afterChangelogHeader: 1 + afterKind: 1 + afterChangelogVersion: 1 + beforeKind: 1 + endOfVersion: 1 + custom: -- key: Field 1 - label: String Field +- key: Author + label: GitHub Username(s) (separated by a single space if multiple) type: string -- key: Field 2 - label: Int Field - type: int -- key: Field 3 - label: Enum Field - type: enum - enumOptions: ["a", "b"] + minLength: 3 +- key: Issue + label: GitHub Issue Number + type: string + minInt: 3 diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 572625ed..db740213 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -47,10 +47,17 @@ jobs: steps: + - name: generate custom fields + id: custom + shell: bash + run: | + CUSTOM_FIELDS='{"Author": emmyoop, "Issue": 1234}' + echo "fields=$CUSTOM_FIELDS" >> $GITHUB_OUTPUT + - name: Create and commit changelog on bot PR if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog - uses: emmyoop/changie_bot@v1.0.1 + uses: emmyoop/changie_bot@er/use-changie-cli with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} commit_author_name: "Github Build Bot" @@ -58,4 +65,4 @@ jobs: commit_message: "Add automated changelog yaml from template for bot PR" changie_kind: ${{ matrix.changie_kind }} label: ${{ matrix.label }} - custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: \n PR: ${{ github.event.pull_request.number }}" + custom_changelog_json: ${{ steps.custom.outputs.fields }} From 70249da0631a90a8a95095d309e323fe8b07805a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 5 May 2023 09:02:46 -0500 Subject: [PATCH 104/133] Delete Dependency-20220906-125126.yaml --- .changes/unreleased/Dependency-20220906-125126.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20220906-125126.yaml diff --git a/.changes/unreleased/Dependency-20220906-125126.yaml b/.changes/unreleased/Dependency-20220906-125126.yaml deleted file mode 100644 index 82efe5da..00000000 --- a/.changes/unreleased/Dependency-20220906-125126.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: "Dependency" -body: "change" -time: $(date +%Y-%m-%dT%H:%M:%S.00000Z) -custom: - Author: emmyoop - Issue: 4904 - PR: 45 From d3221ecad927f5f3b0ff4b69dcf13946bffddfe4 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 5 May 2023 09:08:03 -0500 Subject: [PATCH 105/133] add quotes --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index db740213..7c3ac553 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -51,7 +51,7 @@ jobs: id: custom shell: bash run: | - CUSTOM_FIELDS='{"Author": emmyoop, "Issue": 1234}' + CUSTOM_FIELDS='{"Author": "emmyoop", "Issue": "1234"}' echo "fields=$CUSTOM_FIELDS" >> $GITHUB_OUTPUT - name: Create and commit changelog on bot PR From b2a883b33d95470a492d55291df566fb90ad517a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 5 May 2023 09:28:08 -0500 Subject: [PATCH 106/133] convert to 1.1.0 --- .github/workflows/changie_bot_testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 7c3ac553..20be8a51 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -57,7 +57,7 @@ jobs: - name: Create and commit changelog on bot PR if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog - uses: emmyoop/changie_bot@er/use-changie-cli + uses: emmyoop/changie_bot@v1.1.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} commit_author_name: "Github Build Bot" @@ -65,4 +65,4 @@ jobs: commit_message: "Add automated changelog yaml from template for bot PR" changie_kind: ${{ matrix.changie_kind }} label: ${{ matrix.label }} - custom_changelog_json: ${{ steps.custom.outputs.fields }} + custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: \n PR: ${{ github.event.pull_request.number }}" From 1c76f7f63563811c0f1c085f2f91bf1b2939be0f Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Fri, 5 May 2023 14:35:50 +0000 Subject: [PATCH 107/133] Add automated changelog yaml from template for bot PR --- .changes/unreleased/Dependency-20230505-143546.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changes/unreleased/Dependency-20230505-143546.yaml diff --git a/.changes/unreleased/Dependency-20230505-143546.yaml b/.changes/unreleased/Dependency-20230505-143546.yaml new file mode 100644 index 00000000..39399f27 --- /dev/null +++ b/.changes/unreleased/Dependency-20230505-143546.yaml @@ -0,0 +1,7 @@ +kind: "Dependency" +body: "change" +time: 2023-05-05T14:35:46.00000Z +custom: + Author: emmyoop + Issue: + PR: 45 From cb981874a5ca527ae180171a662c8353b4641454 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 5 May 2023 09:44:26 -0500 Subject: [PATCH 108/133] testing with changie actions --- .github/workflows/changie_bot_testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index 20be8a51..7c3ac553 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -57,7 +57,7 @@ jobs: - name: Create and commit changelog on bot PR if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog - uses: emmyoop/changie_bot@v1.1.0 + uses: emmyoop/changie_bot@er/use-changie-cli with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} commit_author_name: "Github Build Bot" @@ -65,4 +65,4 @@ jobs: commit_message: "Add automated changelog yaml from template for bot PR" changie_kind: ${{ matrix.changie_kind }} label: ${{ matrix.label }} - custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n Issue: \n PR: ${{ github.event.pull_request.number }}" + custom_changelog_json: ${{ steps.custom.outputs.fields }} From c4e151400897e462470ac6c00d53a6dfca54cd62 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 5 May 2023 09:44:39 -0500 Subject: [PATCH 109/133] Delete Dependency-20230505-143546.yaml --- .changes/unreleased/Dependency-20230505-143546.yaml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .changes/unreleased/Dependency-20230505-143546.yaml diff --git a/.changes/unreleased/Dependency-20230505-143546.yaml b/.changes/unreleased/Dependency-20230505-143546.yaml deleted file mode 100644 index 39399f27..00000000 --- a/.changes/unreleased/Dependency-20230505-143546.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: "Dependency" -body: "change" -time: 2023-05-05T14:35:46.00000Z -custom: - Author: emmyoop - Issue: - PR: 45 From 3de7a2bdb03f287aada08af3cbace754af93af71 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 12 May 2023 11:43:07 -0500 Subject: [PATCH 110/133] update workflow --- .github/workflows/triage-labels.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index 5c7e0193..e9b54374 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -11,9 +11,8 @@ permissions: jobs: triage_label: - uses: dbt-labs/actions/.github/workflows/replace-label.yml@er/add-gh-token + uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main with: - original_label: "awaiting_response" - new_label: "triage" - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + add_label: "triage" + remove_label: "awaiting_response" + secrets: inherit # this is only acceptable because we own the action we're calling \ No newline at end of file From 784b596c2d1ece757a4c3e2ea527862fc00672c1 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 12 May 2023 11:45:21 -0500 Subject: [PATCH 111/133] update branch --- .github/workflows/triage-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/triage-labels.yml b/.github/workflows/triage-labels.yml index e9b54374..66d626bb 100644 --- a/.github/workflows/triage-labels.yml +++ b/.github/workflows/triage-labels.yml @@ -11,7 +11,7 @@ permissions: jobs: triage_label: - uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main + uses: dbt-labs/actions/.github/workflows/swap-labels.yml@er/add-labeler with: add_label: "triage" remove_label: "awaiting_response" From edefd4b737f7c65469ad0ac11e385487954c1976 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Jul 2023 09:25:06 -0500 Subject: [PATCH 112/133] testing github release latest tag --- .github/workflows/github_release_test.yml | 140 ++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 .github/workflows/github_release_test.yml diff --git a/.github/workflows/github_release_test.yml b/.github/workflows/github_release_test.yml new file mode 100644 index 00000000..baa8f094 --- /dev/null +++ b/.github/workflows/github_release_test.yml @@ -0,0 +1,140 @@ +# **what?** +# Release workflow provides the following steps: +# - checkout the given commit; +# - validate version in sources and changelog file for given version; +# - bump the version and generate a changelog if needed; +# - merge all changes to the target branch if needed; +# - run unit and integration tests against given commit; +# - build and package that SHA; +# - release it to GitHub and PyPI with that specific build; +# +# **why?** +# Ensure an automated and tested release process +# +# **when?** +# This workflow can be run manually on demand or can be called by other workflows + +name: Release to GitHub and PyPI + +on: + workflow_dispatch: + inputs: + sha: + description: "The last commit sha in the release" + type: string + required: true + target_branch: + description: "The branch to release from" + type: string + required: true + version_number: + description: "The release version number (i.e. 1.0.0b1)" + type: string + required: true + build_script_path: + description: "Build script path" + type: string + default: "scripts/build-dist.sh" + required: true + env_setup_script_path: + description: "Environment setup script path" + type: string + default: "scripts/env-setup.sh" + required: false + s3_bucket_name: + description: "AWS S3 bucket name" + type: string + default: "core-team-artifacts" + required: true + package_test_command: + description: "Package test command" + type: string + default: "dbt --version" + required: true + test_run: + description: "Test run (Publish release as draft)" + type: boolean + default: true + required: false + nightly_release: + description: "Nightly release to dev environment" + type: boolean + default: false + required: false + workflow_call: + inputs: + sha: + description: "The commit sha for the release" + type: string + required: true + version_number: + description: "The release version number (i.e. 1.0.0b1)" + type: string + required: true + changelog_path: + description: "Path to changelog file" + type: string + default: ".changes/1.6.0.md" + required: true + test_run: + description: "Test run (Publish release as draft)" + type: boolean + default: false + required: false + + +permissions: + contents: write # this is the permission that allows creating a new release + +defaults: + run: + shell: bash + +jobs: + log-inputs: + name: Log Inputs + runs-on: ubuntu-latest + steps: + - name: "[DEBUG] Print Variables" + run: | + echo The last commit sha in the release: ${{ inputs.sha }} + echo The release version number: ${{ inputs.version_number }} + echo Changelog path: ${{ inputs.changelog_path }} + echo Test Run: ${{ inputs.test_run }} + + generate-fake-artifact: + name: Generate fake artifact to release + runs-on: ubuntu-latest + + steps: + - name: "Create dummy changelog" + run: | + echo "This is the fancy changelog!" > ${{ inputs.changelog_path}} + + - name: "Create dummy artifact" + run: | + echo "This is the atrifact!" > dist/my_artifact.txt + + - name: "Upload Build Artifact - ${{ inputs.version_number }}" + uses: actions/upload-artifact@v3 + with: + name: ${{ inputs.version_number }} + path: | + ${{ inputs.changelog_path }} + ./dist/ + !dist/dbt-${{ inputs.version_number }}.tar.gz + retention-days: 5 + + github-release: + name: GitHub Release + needs: [generate-fake-artifact] + + uses: dbt-labs/dbt-release/.github/workflows/github-release.yml@er/track-latest + + with: + sha: ${{ inputs.sha }} + version_number: ${{ inputs.version_number }} + changelog_path: ${{ inputs.changelog_path }} + test_run: ${{ inputs.test_run }} + + From 5041171b8e480995c56cfb778d96c5fc726a957a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Jul 2023 09:26:10 -0500 Subject: [PATCH 113/133] fix inputs --- .github/workflows/github_release_test.yml | 60 +++++++---------------- 1 file changed, 18 insertions(+), 42 deletions(-) diff --git a/.github/workflows/github_release_test.yml b/.github/workflows/github_release_test.yml index baa8f094..36e255a4 100644 --- a/.github/workflows/github_release_test.yml +++ b/.github/workflows/github_release_test.yml @@ -19,48 +19,24 @@ name: Release to GitHub and PyPI on: workflow_dispatch: inputs: - sha: - description: "The last commit sha in the release" - type: string - required: true - target_branch: - description: "The branch to release from" - type: string - required: true - version_number: - description: "The release version number (i.e. 1.0.0b1)" - type: string - required: true - build_script_path: - description: "Build script path" - type: string - default: "scripts/build-dist.sh" - required: true - env_setup_script_path: - description: "Environment setup script path" - type: string - default: "scripts/env-setup.sh" - required: false - s3_bucket_name: - description: "AWS S3 bucket name" - type: string - default: "core-team-artifacts" - required: true - package_test_command: - description: "Package test command" - type: string - default: "dbt --version" - required: true - test_run: - description: "Test run (Publish release as draft)" - type: boolean - default: true - required: false - nightly_release: - description: "Nightly release to dev environment" - type: boolean - default: false - required: false + sha: + description: "The commit sha for the release" + type: string + required: true + version_number: + description: "The release version number (i.e. 1.0.0b1)" + type: string + required: true + changelog_path: + description: "Path to changelog file" + type: string + default: ".changes/1.6.0.md" + required: true + test_run: + description: "Test run (Publish release as draft)" + type: boolean + default: false + required: false workflow_call: inputs: sha: From 45650f3b387913ef9382c22912319b104f9ab91e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Thu, 27 Jul 2023 09:39:53 -0500 Subject: [PATCH 114/133] add quotes --- .github/workflows/github_release_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_release_test.yml b/.github/workflows/github_release_test.yml index 36e255a4..d7ccb760 100644 --- a/.github/workflows/github_release_test.yml +++ b/.github/workflows/github_release_test.yml @@ -85,11 +85,11 @@ jobs: steps: - name: "Create dummy changelog" run: | - echo "This is the fancy changelog!" > ${{ inputs.changelog_path}} + echo "This is the fancy changelog!" > "${{ inputs.changelog_path}}" - name: "Create dummy artifact" run: | - echo "This is the atrifact!" > dist/my_artifact.txt + echo "This is the atrifact!" > "dist/my_artifact.txt" - name: "Upload Build Artifact - ${{ inputs.version_number }}" uses: actions/upload-artifact@v3 From 72290f3bcb4969c3de4fbd148e072ff06780a286 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 8 Aug 2023 15:25:07 -0500 Subject: [PATCH 115/133] add testing wf --- .github/workflows/open_issues.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/open_issues.yml diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml new file mode 100644 index 00000000..d82f0115 --- /dev/null +++ b/.github/workflows/open_issues.yml @@ -0,0 +1,26 @@ +name: Open issues in another repo when a PR is labeled + +on: + pull_request: + types: [opened, reopened, labeled, unlabeled, synchronize] + +defaults: + run: + shell: bash + +permissions: + issues: write + +env: + required_label: 'needs-docs' + +jobs: + if: "contains(github.event.pull_request.labels.*.name, env.required_label)" + open_issues: + uses: dbt-labs/actions/.github/workflows/open_issue_in_repo.yml@er/docs-issue + with: + issue_repository: "emmyoop/dbt-labs-test" + issue_title: "This is my title" + issue_body: "This is the issue body" + # issue_template: + secrets: inherit # this is only acceptable because we own the action we're calling \ No newline at end of file From 4d1acd7ba691991192201485f7346111b4878b70 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 8 Aug 2023 15:26:02 -0500 Subject: [PATCH 116/133] fix repo --- .github/workflows/open_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index d82f0115..f3351ea2 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -19,7 +19,7 @@ jobs: open_issues: uses: dbt-labs/actions/.github/workflows/open_issue_in_repo.yml@er/docs-issue with: - issue_repository: "emmyoop/dbt-labs-test" + issue_repository: "emmyoop/basic-dbt" issue_title: "This is my title" issue_body: "This is the issue body" # issue_template: From fbdd60e2f440bd82dffda599a9793051bb6e6264 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 8 Aug 2023 15:29:36 -0500 Subject: [PATCH 117/133] fix conditional --- .github/workflows/open_issues.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index f3351ea2..6db189d9 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -11,12 +11,10 @@ defaults: permissions: issues: write -env: - required_label: 'needs-docs' jobs: - if: "contains(github.event.pull_request.labels.*.name, env.required_label)" open_issues: + if: contains( github.event.pull_request.labels.*.name, 'needs-docs') uses: dbt-labs/actions/.github/workflows/open_issue_in_repo.yml@er/docs-issue with: issue_repository: "emmyoop/basic-dbt" From 91500dd8a33df91cc3e99f7d492c5344ae83d6e3 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 8 Aug 2023 15:59:33 -0500 Subject: [PATCH 118/133] fix repo workflow name --- .github/workflows/open_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 6db189d9..51afbdf6 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -15,7 +15,7 @@ permissions: jobs: open_issues: if: contains( github.event.pull_request.labels.*.name, 'needs-docs') - uses: dbt-labs/actions/.github/workflows/open_issue_in_repo.yml@er/docs-issue + uses: dbt-labs/actions/.github/workflows/open-issue-in-repo.yml@er/docs-issue with: issue_repository: "emmyoop/basic-dbt" issue_title: "This is my title" From afb4036ce2481f01b89c9ae5f240fe398e020f4a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 8 Aug 2023 16:01:35 -0500 Subject: [PATCH 119/133] fix permissions --- .github/workflows/open_issues.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 51afbdf6..c2875cf0 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -9,7 +9,8 @@ defaults: shell: bash permissions: - issues: write + issues: write # opens new issues + pull-requests: write # comments on PRs jobs: From 936a622e439da416ebfe07363864314988429808 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 8 Aug 2023 16:44:17 -0500 Subject: [PATCH 120/133] move secret --- .github/workflows/open_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index c2875cf0..225ca20d 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -22,4 +22,4 @@ jobs: issue_title: "This is my title" issue_body: "This is the issue body" # issue_template: - secrets: inherit # this is only acceptable because we own the action we're calling \ No newline at end of file + secrets: inherit \ No newline at end of file From d5cdddc486926644c038c88091a9c3e5326eca5c Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 9 Aug 2023 08:29:09 -0500 Subject: [PATCH 121/133] change repo --- .github/workflows/open_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 225ca20d..9df6429b 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -18,7 +18,7 @@ jobs: if: contains( github.event.pull_request.labels.*.name, 'needs-docs') uses: dbt-labs/actions/.github/workflows/open-issue-in-repo.yml@er/docs-issue with: - issue_repository: "emmyoop/basic-dbt" + issue_repository: "emmyoop/action_testing" issue_title: "This is my title" issue_body: "This is the issue body" # issue_template: From 0ad6b2a6667caa3c065929fafb595ffd09a1472e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 9 Aug 2023 08:31:13 -0500 Subject: [PATCH 122/133] explicitly define secret --- .github/workflows/open_issues.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 9df6429b..1f3194d7 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -22,4 +22,5 @@ jobs: issue_title: "This is my title" issue_body: "This is the issue body" # issue_template: - secrets: inherit \ No newline at end of file + secrets: + FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From 71930c84be0b7b70ae295def21332a0e6a63c0f1 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Wed, 9 Aug 2023 08:41:38 -0500 Subject: [PATCH 123/133] use template --- .github/ISSUE_TEMPLATE/bug-report.yml | 97 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 23 +++++ .github/ISSUE_TEMPLATE/feature-request.yml | 59 ++++++++++++ .github/ISSUE_TEMPLATE/regression-report.yml | 93 +++++++++++++++++++ .github/ISSUE_TEMPLATE/some.yml | 0 .github/workflows/open_issues.yml | 4 +- 6 files changed, 274 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/regression-report.yml create mode 100644 .github/ISSUE_TEMPLATE/some.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..42a50b38 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,97 @@ +name: 🐞 Bug +description: Report a bug or an issue you've found with dbt +title: "[Bug] " +labels: ["bug", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: checkboxes + attributes: + label: Is this a new bug in dbt-core? + description: > + In other words, is this an error, flaw, failure or fault in our software? + + If this is a bug that broke existing functionality that used to work, please open a regression issue. + If this is a bug in an adapter plugin, please open an issue in the adapter's repository. + If this is a bug experienced while using dbt Cloud, please report to [support](mailto:support@getdbt.com). + If this is a request for help or troubleshooting code in your own dbt project, please join our [dbt Community Slack](https://www.getdbt.com/community/join-the-community/) or open a [Discussion question](https://github.com/dbt-labs/docs.getdbt.com/discussions). + + Please search to see if an issue already exists for the bug you encountered. + options: + - label: I believe this is a new bug in dbt-core + required: true + - label: I have searched the existing issues, and I could not find an existing issue for this bug + required: true + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 2. With this config... + 3. Run '...' + 4. See error... + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant log output + description: | + If applicable, log output to help explain your problem. + render: shell + validations: + required: false + - type: textarea + attributes: + label: Environment + description: | + examples: + - **OS**: Ubuntu 20.04 + - **Python**: 3.9.12 (`python3 --version`) + - **dbt-core**: 1.1.1 (`dbt --version`) + value: | + - OS: + - Python: + - dbt: + render: markdown + validations: + required: false + - type: dropdown + id: database + attributes: + label: Which database adapter are you using with dbt? + description: If the bug is specific to the database or adapter, please open the issue in that adapter's repository instead + multiple: true + options: + - postgres + - redshift + - snowflake + - bigquery + - spark + - other (mention it in "Additional Context") + validations: + required: false + - type: textarea + attributes: + label: Additional Context + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..ca13b07b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,23 @@ +blank_issues_enabled: false +contact_links: + - name: Ask the community for help + url: https://github.com/dbt-labs/docs.getdbt.com/discussions + about: Need help troubleshooting? Check out our guide on how to ask + - name: Contact dbt Cloud support + url: mailto:support@getdbt.com + about: Are you using dbt Cloud? Contact our support team for help! + - name: Participate in Discussions + url: https://github.com/dbt-labs/dbt-core/discussions + about: Do you have a Big Idea for dbt? Read open discussions, or start a new one + - name: Create an issue for dbt-redshift + url: https://github.com/dbt-labs/dbt-redshift/issues/new/choose + about: Report a bug or request a feature for dbt-redshift + - name: Create an issue for dbt-bigquery + url: https://github.com/dbt-labs/dbt-bigquery/issues/new/choose + about: Report a bug or request a feature for dbt-bigquery + - name: Create an issue for dbt-snowflake + url: https://github.com/dbt-labs/dbt-snowflake/issues/new/choose + about: Report a bug or request a feature for dbt-snowflake + - name: Create an issue for dbt-spark + url: https://github.com/dbt-labs/dbt-spark/issues/new/choose + about: Report a bug or request a feature for dbt-spark diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000..a8b0b6e8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,59 @@ +name: ✨ Feature +description: Propose a straightforward extension of dbt functionality +title: "[Feature] <title>" +labels: ["enhancement", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request! + - type: checkboxes + attributes: + label: Is this your first time submitting a feature request? + description: > + We want to make sure that features are distinct and discoverable, + so that other members of the community can find them and offer their thoughts. + + Issues are the right place to request straightforward extensions of existing dbt functionality. + For "big ideas" about future capabilities of dbt, we ask that you open a + [discussion](https://github.com/dbt-labs/dbt-core/discussions) in the "Ideas" category instead. + options: + - label: I have read the [expectations for open source contributors](https://docs.getdbt.com/docs/contributing/oss-expectations) + required: true + - label: I have searched the existing issues, and I could not find an existing issue for this feature + required: true + - label: I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion + required: true + - type: textarea + attributes: + label: Describe the feature + description: A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + attributes: + label: Describe alternatives you've considered + description: | + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + attributes: + label: Who will this benefit? + description: | + What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly. + validations: + required: false + - type: input + attributes: + label: Are you interested in contributing this feature? + description: Let us know if you want to write some code, and how we can help. + validations: + required: false + - type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the feature you are suggesting! + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/regression-report.yml b/.github/ISSUE_TEMPLATE/regression-report.yml new file mode 100644 index 00000000..5dfceedb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/regression-report.yml @@ -0,0 +1,93 @@ +name: ☣️ Regression +description: Report a regression you've observed in a newer version of dbt +title: "[Regression] <title>" +labels: ["bug", "regression", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this regression report! + - type: checkboxes + attributes: + label: Is this a regression in a recent version of dbt-core? + description: > + A regression is when documented functionality works as expected in an older version of dbt-core, + and no longer works after upgrading to a newer version of dbt-core + options: + - label: I believe this is a regression in dbt-core functionality + required: true + - label: I have searched the existing issues, and I could not find an existing issue for this regression + required: true + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + validations: + required: true + - type: textarea + attributes: + label: Expected/Previous Behavior + description: A concise description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 2. With this config... + 3. Run '...' + 4. See error... + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant log output + description: | + If applicable, log output to help explain your problem. + render: shell + validations: + required: false + - type: textarea + attributes: + label: Environment + description: | + examples: + - **OS**: Ubuntu 20.04 + - **Python**: 3.9.12 (`python3 --version`) + - **dbt-core (working version)**: 1.1.1 (`dbt --version`) + - **dbt-core (regression version)**: 1.2.0 (`dbt --version`) + value: | + - OS: + - Python: + - dbt (working version): + - dbt (regression version): + render: markdown + validations: + required: true + - type: dropdown + id: database + attributes: + label: Which database adapter are you using with dbt? + description: If the regression is specific to the database or adapter, please open the issue in that adapter's repository instead + multiple: true + options: + - postgres + - redshift + - snowflake + - bigquery + - spark + - other (mention it in "Additional Context") + validations: + required: false + - type: textarea + attributes: + label: Additional Context + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/some.yml b/.github/ISSUE_TEMPLATE/some.yml new file mode 100644 index 00000000..e69de29b diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 1f3194d7..aba13fb0 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -20,7 +20,7 @@ jobs: with: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" - issue_body: "This is the issue body" - # issue_template: + # issue_body: "This is the issue body" + issue_template: "big-report.yml" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From e61c902261d8236ba406271c680e0fec3a1e50d9 Mon Sep 17 00:00:00 2001 From: Emily Rockman <ebuschang@gmail.com> Date: Wed, 9 Aug 2023 08:51:42 -0500 Subject: [PATCH 124/133] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..dd84ea78 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. From 2015a30f7139420a0cf2e807f722abede789ea00 Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 09:14:10 -0500 Subject: [PATCH 125/133] fix inputs --- .github/workflows/open_issues.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index aba13fb0..7fa1c4ca 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -20,7 +20,6 @@ jobs: with: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" - # issue_body: "This is the issue body" - issue_template: "big-report.yml" + issue_body: "This is the issue body" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From 3256eb256b84369cf4c1ceb0192d74e752f41aa2 Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 09:52:11 -0500 Subject: [PATCH 126/133] complex body --- .github/workflows/open_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 7fa1c4ca..18a590fb 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -20,6 +20,6 @@ jobs: with: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" - issue_body: "This is the issue body" + issue_body: "This is the issue body\n\nIt can have multiple lines\n\n### And even markdown!" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From c8e23d34382e7557936e84fd848a74e00746f456 Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 15:45:54 -0500 Subject: [PATCH 127/133] add labels --- .github/workflows/open_issues.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 18a590fb..8cce3b26 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -2,7 +2,7 @@ name: Open issues in another repo when a PR is labeled on: pull_request: - types: [opened, reopened, labeled, unlabeled, synchronize] + types: [closed, labeled] defaults: run: @@ -14,12 +14,28 @@ permissions: jobs: + generate_body: + if: contains( github.event.pull_request.labels.*.name, 'needs-docs') && github.event.pull_request.merged == true + runs-on: ubuntu-latest + outputs: + first_line: ${{ steps.set_body.outputs.first_line }} + second_line: ${{ steps.set_body.outputs.second_line }} + third_line: ${{ steps.set_body.outputs.third_line }} + steps: + - name: Get issue title + id: set_body + run: | + echo "first_line=Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_ENV + echo "second_line=What part(s) of the page would you like to see updated?" >> $GITHUB_ENV + echo "third_line=Additional information" >> $GITHUB_ENV + open_issues: - if: contains( github.event.pull_request.labels.*.name, 'needs-docs') + needs: [generate_body] uses: dbt-labs/actions/.github/workflows/open-issue-in-repo.yml@er/docs-issue with: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" issue_body: "This is the issue body\n\nIt can have multiple lines\n\n### And even markdown!" + labels: "needs-docs,bug" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From 8158e1671cf279c92ca18b50c67bf46791f90e8d Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 15:49:06 -0500 Subject: [PATCH 128/133] fix input name --- .github/workflows/open_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index 8cce3b26..f7b8447f 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -36,6 +36,6 @@ jobs: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" issue_body: "This is the issue body\n\nIt can have multiple lines\n\n### And even markdown!" - labels: "needs-docs,bug" + issue_labels: "needs-docs,bug" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From 3161ec8fe604604c0c1f3967d35bbb5ba2de30e3 Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 15:51:22 -0500 Subject: [PATCH 129/133] Update .github/workflows/changie_bot_testing.yml --- .github/workflows/changie_bot_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changie_bot_testing.yml b/.github/workflows/changie_bot_testing.yml index ca35d34f..7c3ac553 100644 --- a/.github/workflows/changie_bot_testing.yml +++ b/.github/workflows/changie_bot_testing.yml @@ -55,7 +55,7 @@ jobs: echo "fields=$CUSTOM_FIELDS" >> $GITHUB_OUTPUT - name: Create and commit changelog on bot PR - if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label ) }} + if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} id: bot_changelog uses: emmyoop/changie_bot@er/use-changie-cli with: From dcf4aaa5ca7402df71a98d7a21ffce670b29d45a Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 15:56:22 -0500 Subject: [PATCH 130/133] modify issue body --- .github/workflows/open_issues.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index f7b8447f..a667be1f 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -1,4 +1,5 @@ name: Open issues in another repo when a PR is labeled +run-name: "Open an issue in action_testing when a merged PR is labeled user doc" on: pull_request: @@ -25,9 +26,9 @@ jobs: - name: Get issue title id: set_body run: | - echo "first_line=Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_ENV - echo "second_line=What part(s) of the page would you like to see updated?" >> $GITHUB_ENV - echo "third_line=Additional information" >> $GITHUB_ENV + echo "first_line=### Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_ENV + echo "second_line=### What part(s) of the page would you like to see updated?" >> $GITHUB_ENV + echo "third_line=### Additional information" >> $GITHUB_ENV open_issues: needs: [generate_body] @@ -35,7 +36,7 @@ jobs: with: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" - issue_body: "This is the issue body\n\nIt can have multiple lines\n\n### And even markdown!" + issue_body: "${{needs.generate_body.outputs.first_line }}\n\n${{needs.generate_body.outputs.second_line }}\n\n${{needs.generate_body.outputs.third_line }}" issue_labels: "needs-docs,bug" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file From 97fd209acf7e998c0634d3455ef06e183f31d62c Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Wed, 9 Aug 2023 16:01:48 -0500 Subject: [PATCH 131/133] fix GITHUB_OUTPUT --- .github/workflows/open_issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index a667be1f..d554ff91 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -26,9 +26,9 @@ jobs: - name: Get issue title id: set_body run: | - echo "first_line=### Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_ENV - echo "second_line=### What part(s) of the page would you like to see updated?" >> $GITHUB_ENV - echo "third_line=### Additional information" >> $GITHUB_ENV + echo "first_line=### Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_OUTPUT + echo "second_line=### What part(s) of the page would you like to see updated?" >> $GITHUB_OUTPUT + echo "third_line=### Additional information" >> $GITHUB_OUTPUT open_issues: needs: [generate_body] From 0994a51127e077e6a6cc51c5e424c12efcc809d6 Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Fri, 11 Aug 2023 15:57:26 -0500 Subject: [PATCH 132/133] add single quote --- .github/workflows/open_issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index d554ff91..dfec7091 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -26,9 +26,9 @@ jobs: - name: Get issue title id: set_body run: | - echo "first_line=### Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_OUTPUT - echo "second_line=### What part(s) of the page would you like to see updated?" >> $GITHUB_OUTPUT - echo "third_line=### Additional information" >> $GITHUB_OUTPUT + echo "first_line='### Link to the page on docs.getdbt.com requiring updates'" >> $GITHUB_OUTPUT + echo "second_line='### What part(s) of the page would you like to see updated?'" >> $GITHUB_OUTPUT + echo "third_line='### Additional information'" >> $GITHUB_OUTPUT open_issues: needs: [generate_body] From 6779272e163c69c2d359113f75e8b5c89a1e8988 Mon Sep 17 00:00:00 2001 From: Emily Rockman <emily.rockman@dbtlabs.com> Date: Fri, 11 Aug 2023 16:12:43 -0500 Subject: [PATCH 133/133] reformat building body --- .github/workflows/open_issues.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/open_issues.yml b/.github/workflows/open_issues.yml index dfec7091..76ff554c 100644 --- a/.github/workflows/open_issues.yml +++ b/.github/workflows/open_issues.yml @@ -19,16 +19,21 @@ jobs: if: contains( github.event.pull_request.labels.*.name, 'needs-docs') && github.event.pull_request.merged == true runs-on: ubuntu-latest outputs: - first_line: ${{ steps.set_body.outputs.first_line }} - second_line: ${{ steps.set_body.outputs.second_line }} - third_line: ${{ steps.set_body.outputs.third_line }} + issue_body: ${{ steps.set_body.outputs.issue_body }} steps: - name: Get issue title + id: set_lines + run: | + echo "first_line=### Link to the page on docs.getdbt.com requiring updates" >> $GITHUB_OUTPUT + echo "second_line=### What part(s) of the page would you like to see updated?" >> $GITHUB_OUTPUT + echo "third_line=### Additional information" >> $GITHUB_OUTPUT + + - name: Set issue body id: set_body run: | - echo "first_line='### Link to the page on docs.getdbt.com requiring updates'" >> $GITHUB_OUTPUT - echo "second_line='### What part(s) of the page would you like to see updated?'" >> $GITHUB_OUTPUT - echo "third_line='### Additional information'" >> $GITHUB_OUTPUT + issue_body="${{steps.set_lines.outputs.first_line }}\n\n${{steps.set_lines.outputs.second_line }}\n\n${{steps.set_lines.outputs.third_line }}" + echo $issue_body + echo "issue_body=$issue_body" >> $GITHUB_OUTPUT open_issues: needs: [generate_body] @@ -36,7 +41,7 @@ jobs: with: issue_repository: "emmyoop/action_testing" issue_title: "This is my title" - issue_body: "${{needs.generate_body.outputs.first_line }}\n\n${{needs.generate_body.outputs.second_line }}\n\n${{needs.generate_body.outputs.third_line }}" + issue_body: "${{needs.generate_body.outputs.issue_body }}" issue_labels: "needs-docs,bug" secrets: FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }} \ No newline at end of file