From b28f4106afba9585309b0a39383e06b2014e47fe Mon Sep 17 00:00:00 2001 From: apshoebkhan Date: Wed, 26 Nov 2025 15:22:47 -0500 Subject: [PATCH 1/2] Update release.yml to use reusable workflow --- .github/workflows/release.yml | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e65de9d75..7ed480f80b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,33 +7,12 @@ on: description: "version | patch | minor | major" required: true default: "patch" + jobs: publish: - environment: release - runs-on: ubuntu-latest - name: 'Bump version and publish' - env: - VERSION: ${{ github.event.inputs.version }} - NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.GH_TOKEN }} - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install packages - run: npm install - env: - NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - - name: version and publish - run: | - git stash - git config user.name $GITHUB_ACTOR - git config user.email gh-actions-${GITHUB_ACTOR}@github.com - git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - npm version $VERSION -m "Version %s" - npm publish - git push gh-origin $GITHUB_REF --tags + uses: activeprospect/leadconduit-integration-acoustic/.github/workflows/release.yml@master + with: + version: ${{ github.event.inputs.version }} + secrets: + NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + From 3165480f05ad21e7b62795b59d84784ce216b0a5 Mon Sep 17 00:00:00 2001 From: apshoebkhan Date: Mon, 1 Dec 2025 13:33:55 -0500 Subject: [PATCH 2/2] Update release.yml to use reusable workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ed480f80b..5fda6052c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ on: jobs: publish: - uses: activeprospect/leadconduit-integration-acoustic/.github/workflows/release.yml@master + uses: activeprospect/github-action-workflows/.github/workflows/release.yml@master with: version: ${{ github.event.inputs.version }} secrets: