From ded9bd253a25ffb5192079b6b018deb98a36d475 Mon Sep 17 00:00:00 2001 From: Hugo Montero Date: Tue, 7 May 2024 14:06:45 -0600 Subject: [PATCH] rename workflows to prefix reusable ones --- .github/workflows/dev.yml | 2 +- .github/workflows/production.yml | 8 ++++---- .github/workflows/{build.yml => reusable-build.yml} | 0 .../{publish-npm.yml => reusable-publish-npm.yml} | 0 .../workflows/{publish-v2.yml => reusable-publish-v2.yml} | 0 .github/workflows/{tests.yml => reusable-tests.yml} | 0 .github/workflows/staging.yml | 6 +++--- 7 files changed, 8 insertions(+), 8 deletions(-) rename .github/workflows/{build.yml => reusable-build.yml} (100%) rename .github/workflows/{publish-npm.yml => reusable-publish-npm.yml} (100%) rename .github/workflows/{publish-v2.yml => reusable-publish-v2.yml} (100%) rename .github/workflows/{tests.yml => reusable-tests.yml} (100%) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 0ba31f500..fb45e3c0a 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -7,5 +7,5 @@ on: - '!staging' jobs: call-tests: - uses: ./.github/workflows/tests.yml + uses: ./.github/workflows/reusable-tests.yml secrets: inherit diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 7134932f9..f10620739 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -5,19 +5,19 @@ on: - v* jobs: call-tests: - uses: ./.github/workflows/tests.yml + uses: ./.github/workflows/reusable-tests.yml secrets: inherit call-build: - uses: ./.github/workflows/build.yml + uses: ./.github/workflows/reusable-build.yml secrets: inherit needs: call-tests call-publish-v2: - uses: ./.github/workflows/publish-v2.yml + uses: ./.github/workflows/reusable-publish-v2.yml secrets: inherit needs: call-build with: environment: production call-publish-npm: - uses: ./.github/workflows/publish-npm.yml + uses: ./.github/workflows/reusable-publish-npm.yml secrets: inherit needs: call-publish-v2 diff --git a/.github/workflows/build.yml b/.github/workflows/reusable-build.yml similarity index 100% rename from .github/workflows/build.yml rename to .github/workflows/reusable-build.yml diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/reusable-publish-npm.yml similarity index 100% rename from .github/workflows/publish-npm.yml rename to .github/workflows/reusable-publish-npm.yml diff --git a/.github/workflows/publish-v2.yml b/.github/workflows/reusable-publish-v2.yml similarity index 100% rename from .github/workflows/publish-v2.yml rename to .github/workflows/reusable-publish-v2.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/reusable-tests.yml similarity index 100% rename from .github/workflows/tests.yml rename to .github/workflows/reusable-tests.yml diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 25cb06d70..381dbb77d 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -5,14 +5,14 @@ on: - 'staging' jobs: call-tests: - uses: ./.github/workflows/tests.yml + uses: ./.github/workflows/reusable-tests.yml secrets: inherit call-build: - uses: ./.github/workflows/build.yml + uses: ./.github/workflows/reusable-build.yml secrets: inherit needs: call-tests call-publish: - uses: ./.github/workflows/publish-v2.yml + uses: ./.github/workflows/reusable-publish-v2.yml secrets: inherit needs: call-build with: