From 436eb3428a50754f129e851cab756a085c5e648a Mon Sep 17 00:00:00 2001 From: Jack Kleeman Date: Tue, 16 Jan 2024 09:26:13 +0000 Subject: [PATCH 1/2] Add workflow ids in download-artifact actions These can be seen with `gh workflow list` on the appropriate repo --- .github/workflows/e2e.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 318afbf5..feb450df 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -107,6 +107,7 @@ jobs: uses: dawidd6/action-download-artifact@v2 with: github_token: ${{ secrets.SDK_TYPESCRIPT_ACTION_READ_TOKEN || secrets.GITHUB_TOKEN }} + workflow: 58374855 repo: restatedev/sdk-typescript commit: ${{ inputs.sdkTypescriptCommit }} name: restatedev-restate-sdk @@ -144,6 +145,7 @@ jobs: with: github_token: ${{ secrets.RESTATE_ACTION_READ_TOKEN || secrets.GITHUB_TOKEN }} repo: restatedev/restate + workflow: 44673365 commit: ${{ inputs.restateCommit }} name: restate.tar From 9637ff90a069c19c1c5d79ced98e074d88e7bd61 Mon Sep 17 00:00:00 2001 From: Jack Kleeman Date: Tue, 16 Jan 2024 14:02:18 +0000 Subject: [PATCH 2/2] Use workflow file names and remove tokens --- .github/workflows/e2e.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index feb450df..f6ec5a78 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -106,8 +106,7 @@ jobs: if: ${{ inputs.sdkTypescriptCommit != '' && github.event_name == 'workflow_dispatch' }} uses: dawidd6/action-download-artifact@v2 with: - github_token: ${{ secrets.SDK_TYPESCRIPT_ACTION_READ_TOKEN || secrets.GITHUB_TOKEN }} - workflow: 58374855 + workflow: test.yml repo: restatedev/sdk-typescript commit: ${{ inputs.sdkTypescriptCommit }} name: restatedev-restate-sdk @@ -143,9 +142,8 @@ jobs: if: ${{ inputs.restateCommit != '' && github.event_name == 'workflow_dispatch' }} uses: dawidd6/action-download-artifact@v2 with: - github_token: ${{ secrets.RESTATE_ACTION_READ_TOKEN || secrets.GITHUB_TOKEN }} repo: restatedev/restate - workflow: 44673365 + workflow: docker.yml commit: ${{ inputs.restateCommit }} name: restate.tar