From cdbbb5b99a9fdcdd7605b1f8516b3c14721d7305 Mon Sep 17 00:00:00 2001 From: Amulya Kashyap Date: Thu, 8 Feb 2024 20:23:38 +0530 Subject: [PATCH] Externalising GitHub workflows (#68) * Added external workflow * added secrets inherit --------- Co-authored-by: Amulya Kashyap --- .github/workflows/on-release-creation-publish-to-npm.yml | 3 ++- .github/workflows/prerelease.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-release-creation-publish-to-npm.yml b/.github/workflows/on-release-creation-publish-to-npm.yml index 9c9e6b2..1e303c7 100644 --- a/.github/workflows/on-release-creation-publish-to-npm.yml +++ b/.github/workflows/on-release-creation-publish-to-npm.yml @@ -6,4 +6,5 @@ on: jobs: build: - uses: adobe/aio-reusable-workflows/.github/workflows/on-release-creation-publish-to-npm.yml@main \ No newline at end of file + uses: adobe/aio-reusable-workflows/.github/workflows/on-release-creation-publish-to-npm.yml@main + secrets: inherit diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 7ab5c24..435a1b3 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -16,4 +16,5 @@ on: default: '@adobe/aio-cli-lib-app-config,@adobe/aio-cli-lib-console,@adobe/aio-lib-console-project-installation,@adobe/aio-lib-core-config,@adobe/aio-lib-core-logging,@adobe/aio-lib-env,@adobe/aio-lib-ims,@adobe/aio-lib-templates' jobs: checkout: - uses: adobe/aio-reusable-workflows/.github/workflows/prerelease.yml@main \ No newline at end of file + uses: adobe/aio-reusable-workflows/.github/workflows/prerelease.yml@main + secrets: inherit