From 447e57ac1021d3236df1d47e6ac8566cc26fc09a Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 13:51:53 -0700 Subject: [PATCH 01/23] add script to upload templates --- tests/upload_templates.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/upload_templates.sh diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh new file mode 100644 index 00000000..e30e25e7 --- /dev/null +++ b/tests/upload_templates.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# upload metadata templates to synapse +# if running locally set SYNAPSE_TOKEN_DPE in your environment + +SYNAPSE_UPLOAD_FOLDER_ID=syn64416308 + + +if [ -n "${SYNAPSE_TOKEN_DPE}" ]; then + echo "Using synapse token from env var" + synapse login -p "${SYNAPSE_TOKEN_DPE}" +else + echo No credentials found +fi + +echo Uploading manifests to "$SYNAPSE_UPLOAD_FOLDER_ID" + +shopt -s extglob + +MANIFESTS=("$PWD"/*.@(xlsx|xls)) + +for MANIFEST in ${MANIFESTS[@]}; +do + synapse store --parentId "$SYNAPSE_UPLOAD_FOLDER_ID" --noForceVersion "$MANIFEST" +done + +echo "✓ Done!" \ No newline at end of file From 1dea9a39f7eb532cfb6eb7418f3b0be1f9e01da8 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 13:57:28 -0700 Subject: [PATCH 02/23] change env var name --- tests/upload_templates.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh index e30e25e7..b9fa6ed0 100644 --- a/tests/upload_templates.sh +++ b/tests/upload_templates.sh @@ -5,9 +5,9 @@ SYNAPSE_UPLOAD_FOLDER_ID=syn64416308 -if [ -n "${SYNAPSE_TOKEN_DPE}" ]; then +if [ -n "${SYNAPSE_TOKEN}" ]; then echo "Using synapse token from env var" - synapse login -p "${SYNAPSE_TOKEN_DPE}" + synapse login -p "${SYNAPSE_TOKEN}" else echo No credentials found fi From 51bcfd43acda5c6bef2c90bb9e067204eac95ec3 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 13:58:01 -0700 Subject: [PATCH 03/23] add test workflow --- .../workflows/upload-current-manifests.yml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/upload-current-manifests.yml diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml new file mode 100644 index 00000000..e8ac074a --- /dev/null +++ b/.github/workflows/upload-current-manifests.yml @@ -0,0 +1,38 @@ +# This workflow automatically generates all manifests currently specified by the data model +# Outputs are excel files and json schemas +# Runs AFTER changes to the data model have been reviewed in a PR and merged into main + +name: Store Current Manifests + +on: + push: + branches: schematic-221-upload-manifests-to-synapse-action + + workflow_dispatch: + +jobs: + upload: + name: upload-manifests + runs-on: ubuntu-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} + SYNAPSE_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + cache: 'pip' + token: ${{ secrets.GENERATE_MANIFESTS_ON_ACTION }} # this Fine-grained PAT was generated to generate manifests despite branch protection, was granted "Read and Write access to actions" permissions, and has access to the adknowledgeportal/data-models repo (resource owner is adknowledgeportal) + + - name: Install Libraries + shell: bash + run: pip install -r requirements.txt + + - name: Upload all manifests + working-directory: current-excel-manifests + run: ./upload_templates.sh \ No newline at end of file From e79a94e694b01d7eb009f506aeca5d975de70b82 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:00:05 -0700 Subject: [PATCH 04/23] change script path --- .github/workflows/upload-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index e8ac074a..8df1432b 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -35,4 +35,4 @@ jobs: - name: Upload all manifests working-directory: current-excel-manifests - run: ./upload_templates.sh \ No newline at end of file + run: ../../tests/upload_templates.sh \ No newline at end of file From b118d62beec7ce4237a1a6734f43669698e3cb53 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:07:44 -0700 Subject: [PATCH 05/23] Revert "change script path" This reverts commit e79a94e694b01d7eb009f506aeca5d975de70b82. --- .github/workflows/upload-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index 8df1432b..e8ac074a 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -35,4 +35,4 @@ jobs: - name: Upload all manifests working-directory: current-excel-manifests - run: ../../tests/upload_templates.sh \ No newline at end of file + run: ./upload_templates.sh \ No newline at end of file From 0ba59b14879aaf5285c80ff2b70153c067521ac2 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:08:40 -0700 Subject: [PATCH 06/23] update file path --- .github/workflows/upload-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index e8ac074a..87720225 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -35,4 +35,4 @@ jobs: - name: Upload all manifests working-directory: current-excel-manifests - run: ./upload_templates.sh \ No newline at end of file + run: ../tests/upload_templates.sh \ No newline at end of file From 55fdf604e38b897978c6ab3fc0c0bb987ef221ec Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:13:20 -0700 Subject: [PATCH 07/23] update index with execute permissions --- tests/upload_templates.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tests/upload_templates.sh diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh old mode 100644 new mode 100755 From f5725df2f7fa1281941063313f0aa625a66f84f9 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:33:17 -0700 Subject: [PATCH 08/23] change env var name --- .github/workflows/upload-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index 87720225..0d07c19b 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -17,7 +17,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} - SYNAPSE_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} + SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} steps: - uses: actions/checkout@v4 From a835a6d5e82d4fa2e045f9b09f4fb5741efe49ee Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:39:28 -0700 Subject: [PATCH 09/23] TEMPORARY Revert "change env var name" This reverts commit f5725df2f7fa1281941063313f0aa625a66f84f9. --- .github/workflows/upload-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index 0d07c19b..87720225 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -17,7 +17,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} - SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} + SYNAPSE_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} steps: - uses: actions/checkout@v4 From 008f522ed836cdc74cadb64699ec8934b2ec713c Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:40:29 -0700 Subject: [PATCH 10/23] remove login step --- tests/upload_templates.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) mode change 100755 => 100644 tests/upload_templates.sh diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh old mode 100755 new mode 100644 index b9fa6ed0..1751bc7c --- a/tests/upload_templates.sh +++ b/tests/upload_templates.sh @@ -2,15 +2,8 @@ # upload metadata templates to synapse # if running locally set SYNAPSE_TOKEN_DPE in your environment -SYNAPSE_UPLOAD_FOLDER_ID=syn64416308 - -if [ -n "${SYNAPSE_TOKEN}" ]; then - echo "Using synapse token from env var" - synapse login -p "${SYNAPSE_TOKEN}" -else - echo No credentials found -fi +SYNAPSE_UPLOAD_FOLDER_ID=syn64416308 echo Uploading manifests to "$SYNAPSE_UPLOAD_FOLDER_ID" From edb46862bc4ef6b9ad930e6f8aa06890834d7732 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:41:07 -0700 Subject: [PATCH 11/23] make script fail on errors --- tests/upload_templates.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh index 1751bc7c..53d10733 100644 --- a/tests/upload_templates.sh +++ b/tests/upload_templates.sh @@ -2,6 +2,7 @@ # upload metadata templates to synapse # if running locally set SYNAPSE_TOKEN_DPE in your environment +set -e SYNAPSE_UPLOAD_FOLDER_ID=syn64416308 From 0b5cd3bd5f252d0ba579ab724f3061cded05d41d Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:42:08 -0700 Subject: [PATCH 12/23] update index --- tests/upload_templates.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tests/upload_templates.sh diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh old mode 100644 new mode 100755 From 0682e4fad5ba516750cf5915f378ddd8753e8809 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:43:19 -0700 Subject: [PATCH 13/23] Revert "TEMPORARY" This reverts commit a835a6d5e82d4fa2e045f9b09f4fb5741efe49ee. --- .github/workflows/upload-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index 87720225..0d07c19b 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -17,7 +17,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} - SYNAPSE_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} + SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} steps: - uses: actions/checkout@v4 From e59efd03ef19ebcdc266d75cad2ba805b4d49b0b Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:52:16 -0700 Subject: [PATCH 14/23] add logging --- tests/upload_templates.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 tests/upload_templates.sh diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh old mode 100755 new mode 100644 index 53d10733..bcb3a8b7 --- a/tests/upload_templates.sh +++ b/tests/upload_templates.sh @@ -4,7 +4,7 @@ set -e -SYNAPSE_UPLOAD_FOLDER_ID=syn64416308 +SYNAPSE_UPLOAD_FOLDER_ID=syn64416621 echo Uploading manifests to "$SYNAPSE_UPLOAD_FOLDER_ID" @@ -14,6 +14,7 @@ MANIFESTS=("$PWD"/*.@(xlsx|xls)) for MANIFEST in ${MANIFESTS[@]}; do + echo "Uploading $MANIFEST" synapse store --parentId "$SYNAPSE_UPLOAD_FOLDER_ID" --noForceVersion "$MANIFEST" done From 211db2a233a1bbaee212501f1e9a30b4f58725c6 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Tue, 17 Dec 2024 14:52:30 -0700 Subject: [PATCH 15/23] update index --- tests/upload_templates.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tests/upload_templates.sh diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh old mode 100644 new mode 100755 From 7b35184c35a90e8262ecfb466bfc81f77545a56c Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 10:32:09 -0700 Subject: [PATCH 16/23] move folder id to env var --- .github/workflows/upload-current-manifests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml index 0d07c19b..49e8ad52 100644 --- a/.github/workflows/upload-current-manifests.yml +++ b/.github/workflows/upload-current-manifests.yml @@ -18,6 +18,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} + SYNAPSE_UPLOAD_FOLDER_ID: syn64416621 steps: - uses: actions/checkout@v4 From 6b4843c8246bbd96d0d815340ba338ecc0d00d96 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 10:33:02 -0700 Subject: [PATCH 17/23] use env var, reorg --- tests/upload_templates.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh index bcb3a8b7..68d43540 100755 --- a/tests/upload_templates.sh +++ b/tests/upload_templates.sh @@ -3,19 +3,16 @@ # if running locally set SYNAPSE_TOKEN_DPE in your environment set -e - -SYNAPSE_UPLOAD_FOLDER_ID=syn64416621 - -echo Uploading manifests to "$SYNAPSE_UPLOAD_FOLDER_ID" - shopt -s extglob +echo Uploading manifests to "${SYNAPSE_UPLOAD_FOLDER_ID}" + MANIFESTS=("$PWD"/*.@(xlsx|xls)) for MANIFEST in ${MANIFESTS[@]}; do echo "Uploading $MANIFEST" - synapse store --parentId "$SYNAPSE_UPLOAD_FOLDER_ID" --noForceVersion "$MANIFEST" + synapse store --parentId "${SYNAPSE_UPLOAD_FOLDER_ID}" --noForceVersion "$MANIFEST" done echo "✓ Done!" \ No newline at end of file From 5bb48a28d33e89a31bb9e77755fbb9a33a2287db Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 10:58:35 -0700 Subject: [PATCH 18/23] remove test workflow --- .../workflows/upload-current-manifests.yml | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/upload-current-manifests.yml diff --git a/.github/workflows/upload-current-manifests.yml b/.github/workflows/upload-current-manifests.yml deleted file mode 100644 index 49e8ad52..00000000 --- a/.github/workflows/upload-current-manifests.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This workflow automatically generates all manifests currently specified by the data model -# Outputs are excel files and json schemas -# Runs AFTER changes to the data model have been reviewed in a PR and merged into main - -name: Store Current Manifests - -on: - push: - branches: schematic-221-upload-manifests-to-synapse-action - - workflow_dispatch: - -jobs: - upload: - name: upload-manifests - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} - SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} - SYNAPSE_UPLOAD_FOLDER_ID: syn64416621 - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: actions/setup-python@v4 - with: - python-version: '3.10' - cache: 'pip' - token: ${{ secrets.GENERATE_MANIFESTS_ON_ACTION }} # this Fine-grained PAT was generated to generate manifests despite branch protection, was granted "Read and Write access to actions" permissions, and has access to the adknowledgeportal/data-models repo (resource owner is adknowledgeportal) - - - name: Install Libraries - shell: bash - run: pip install -r requirements.txt - - - name: Upload all manifests - working-directory: current-excel-manifests - run: ../tests/upload_templates.sh \ No newline at end of file From c69cac11810c4c51e8c63f697b57b9547b784882 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 13:15:16 -0700 Subject: [PATCH 19/23] add upload step --- .github/workflows/generate-current-manifests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-current-manifests.yml b/.github/workflows/generate-current-manifests.yml index ff58d2be..2bca2859 100644 --- a/.github/workflows/generate-current-manifests.yml +++ b/.github/workflows/generate-current-manifests.yml @@ -14,11 +14,13 @@ on: jobs: generate: - name: generate-manifests + name: generate-and-upload-manifests runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} + SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} + SYNAPSE_UPLOAD_FOLDER_ID: syn64420867 steps: - uses: actions/checkout@v4 @@ -55,3 +57,7 @@ jobs: reviewers: $$ {github.actor }} draft: false delete-branch: true + + - name: Upload all manifests + working-directory: current-excel-manifests + run: ../tests/upload_templates.sh \ No newline at end of file From 1bf48a05712aa86513db84cd98082460d9aa82f0 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 13:16:51 -0700 Subject: [PATCH 20/23] TEMP disable pr step --- .../workflows/generate-current-manifests.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/generate-current-manifests.yml b/.github/workflows/generate-current-manifests.yml index 2bca2859..1f88dcd3 100644 --- a/.github/workflows/generate-current-manifests.yml +++ b/.github/workflows/generate-current-manifests.yml @@ -40,24 +40,6 @@ jobs: working-directory: tests run: ./generate_all_templates.sh - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "GitHub Action: generate latest manifests" - title: "Update manifests" - body: | - This PR updates the manifests based on the latest changes. - Please review and merge if everything looks correct. - branch: update-manifests - base: main - labels: | - automated pr - manifest update - reviewers: $$ {github.actor }} - draft: false - delete-branch: true - - name: Upload all manifests working-directory: current-excel-manifests run: ../tests/upload_templates.sh \ No newline at end of file From 61647b8b04e26906345a40e69b38b0f6182ac183 Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 13:18:01 -0700 Subject: [PATCH 21/23] update script comments --- tests/upload_templates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/upload_templates.sh b/tests/upload_templates.sh index 68d43540..65962216 100755 --- a/tests/upload_templates.sh +++ b/tests/upload_templates.sh @@ -1,6 +1,6 @@ #!/bin/bash # upload metadata templates to synapse -# if running locally set SYNAPSE_TOKEN_DPE in your environment +# if running locally set SYNAPSE_AUTH_TOKEN in your environment set -e shopt -s extglob From daf23a719c0ba3bcd3d07f43e299892e26e199fd Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 14:09:34 -0700 Subject: [PATCH 22/23] Revert "TEMP disable pr step" This reverts commit 1bf48a05712aa86513db84cd98082460d9aa82f0. --- .../workflows/generate-current-manifests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/generate-current-manifests.yml b/.github/workflows/generate-current-manifests.yml index 1f88dcd3..2bca2859 100644 --- a/.github/workflows/generate-current-manifests.yml +++ b/.github/workflows/generate-current-manifests.yml @@ -40,6 +40,24 @@ jobs: working-directory: tests run: ./generate_all_templates.sh + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "GitHub Action: generate latest manifests" + title: "Update manifests" + body: | + This PR updates the manifests based on the latest changes. + Please review and merge if everything looks correct. + branch: update-manifests + base: main + labels: | + automated pr + manifest update + reviewers: $$ {github.actor }} + draft: false + delete-branch: true + - name: Upload all manifests working-directory: current-excel-manifests run: ../tests/upload_templates.sh \ No newline at end of file From 78ce78c8ac06444e5f403242d3ef3875b2eececd Mon Sep 17 00:00:00 2001 From: GiaJordan Date: Wed, 18 Dec 2024 14:10:12 -0700 Subject: [PATCH 23/23] change upload folder id --- .github/workflows/generate-current-manifests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-current-manifests.yml b/.github/workflows/generate-current-manifests.yml index 2bca2859..deefacc1 100644 --- a/.github/workflows/generate-current-manifests.yml +++ b/.github/workflows/generate-current-manifests.yml @@ -20,7 +20,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }} SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_TOKEN_DPE }} - SYNAPSE_UPLOAD_FOLDER_ID: syn64420867 + SYNAPSE_UPLOAD_FOLDER_ID: syn25878249 steps: - uses: actions/checkout@v4