From 46522ec01f2303def76a112509c8586caf381ba0 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 2 Apr 2024 17:41:42 -0500 Subject: [PATCH 1/2] move latest-wrangler outside --- .github/workflows/release-docker.yml | 3 --- .../actions/latest-wrangler => latest-wrangler}/Dockerfile | 0 {.github/actions/latest-wrangler => latest-wrangler}/README.md | 0 .../actions/latest-wrangler => latest-wrangler}/action.yml | 0 .../examples/example_workflow.yml | 0 .../examples/example_workflow_dispatch.json | 0 {.github/actions/latest-wrangler => latest-wrangler}/main.py | 0 7 files changed, 3 deletions(-) rename {.github/actions/latest-wrangler => latest-wrangler}/Dockerfile (100%) rename {.github/actions/latest-wrangler => latest-wrangler}/README.md (100%) rename {.github/actions/latest-wrangler => latest-wrangler}/action.yml (100%) rename {.github/actions/latest-wrangler => latest-wrangler}/examples/example_workflow.yml (100%) rename {.github/actions/latest-wrangler => latest-wrangler}/examples/example_workflow_dispatch.json (100%) rename {.github/actions/latest-wrangler => latest-wrangler}/main.py (100%) diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 4e288d9..1d13c85 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -56,9 +56,6 @@ jobs: outputs: fully_qualified_tags: ${{ steps.tags.outputs.fully_qualified_tags }} steps: - - name: Check out the repo - uses: actions/checkout@v4 - - name: Get the tags to publish id: tags # this cannot be relative because this workflow is called from multiple repos diff --git a/.github/actions/latest-wrangler/Dockerfile b/latest-wrangler/Dockerfile similarity index 100% rename from .github/actions/latest-wrangler/Dockerfile rename to latest-wrangler/Dockerfile diff --git a/.github/actions/latest-wrangler/README.md b/latest-wrangler/README.md similarity index 100% rename from .github/actions/latest-wrangler/README.md rename to latest-wrangler/README.md diff --git a/.github/actions/latest-wrangler/action.yml b/latest-wrangler/action.yml similarity index 100% rename from .github/actions/latest-wrangler/action.yml rename to latest-wrangler/action.yml diff --git a/.github/actions/latest-wrangler/examples/example_workflow.yml b/latest-wrangler/examples/example_workflow.yml similarity index 100% rename from .github/actions/latest-wrangler/examples/example_workflow.yml rename to latest-wrangler/examples/example_workflow.yml diff --git a/.github/actions/latest-wrangler/examples/example_workflow_dispatch.json b/latest-wrangler/examples/example_workflow_dispatch.json similarity index 100% rename from .github/actions/latest-wrangler/examples/example_workflow_dispatch.json rename to latest-wrangler/examples/example_workflow_dispatch.json diff --git a/.github/actions/latest-wrangler/main.py b/latest-wrangler/main.py similarity index 100% rename from .github/actions/latest-wrangler/main.py rename to latest-wrangler/main.py From b7f98e5498172719b5a3a07db554a705dc7b668a Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 2 Apr 2024 17:43:46 -0500 Subject: [PATCH 2/2] move back into .gtihub and fix path --- {latest-wrangler => .github/actions/latest-wrangler}/Dockerfile | 0 {latest-wrangler => .github/actions/latest-wrangler}/README.md | 0 {latest-wrangler => .github/actions/latest-wrangler}/action.yml | 0 .../actions/latest-wrangler}/examples/example_workflow.yml | 0 .../latest-wrangler}/examples/example_workflow_dispatch.json | 0 {latest-wrangler => .github/actions/latest-wrangler}/main.py | 0 .github/workflows/release-docker.yml | 2 +- 7 files changed, 1 insertion(+), 1 deletion(-) rename {latest-wrangler => .github/actions/latest-wrangler}/Dockerfile (100%) rename {latest-wrangler => .github/actions/latest-wrangler}/README.md (100%) rename {latest-wrangler => .github/actions/latest-wrangler}/action.yml (100%) rename {latest-wrangler => .github/actions/latest-wrangler}/examples/example_workflow.yml (100%) rename {latest-wrangler => .github/actions/latest-wrangler}/examples/example_workflow_dispatch.json (100%) rename {latest-wrangler => .github/actions/latest-wrangler}/main.py (100%) diff --git a/latest-wrangler/Dockerfile b/.github/actions/latest-wrangler/Dockerfile similarity index 100% rename from latest-wrangler/Dockerfile rename to .github/actions/latest-wrangler/Dockerfile diff --git a/latest-wrangler/README.md b/.github/actions/latest-wrangler/README.md similarity index 100% rename from latest-wrangler/README.md rename to .github/actions/latest-wrangler/README.md diff --git a/latest-wrangler/action.yml b/.github/actions/latest-wrangler/action.yml similarity index 100% rename from latest-wrangler/action.yml rename to .github/actions/latest-wrangler/action.yml diff --git a/latest-wrangler/examples/example_workflow.yml b/.github/actions/latest-wrangler/examples/example_workflow.yml similarity index 100% rename from latest-wrangler/examples/example_workflow.yml rename to .github/actions/latest-wrangler/examples/example_workflow.yml diff --git a/latest-wrangler/examples/example_workflow_dispatch.json b/.github/actions/latest-wrangler/examples/example_workflow_dispatch.json similarity index 100% rename from latest-wrangler/examples/example_workflow_dispatch.json rename to .github/actions/latest-wrangler/examples/example_workflow_dispatch.json diff --git a/latest-wrangler/main.py b/.github/actions/latest-wrangler/main.py similarity index 100% rename from latest-wrangler/main.py rename to .github/actions/latest-wrangler/main.py diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 1d13c85..b5aad53 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -60,7 +60,7 @@ jobs: id: tags # this cannot be relative because this workflow is called from multiple repos # in addition to a manual trigger - uses: dbt-labs/dbt-release/latest-wrangler@main + uses: dbt-labs/dbt-release/.github/actions/latest-wrangler@main with: package_name: ${{ inputs.package }} new_version: ${{ inputs.version_number }}