diff --git a/.github/workflows/synchronise-pr-version-npm.yml b/.github/workflows/synchronise-pr-version-npm.yml new file mode 100644 index 0000000..4db6c69 --- /dev/null +++ b/.github/workflows/synchronise-pr-version-npm.yml @@ -0,0 +1,19 @@ +name: Synchronise Version + +on: + pull_request: + types: [labeled, unlabeled, opened, reopened, synchronize] + +permissions: + contents: write + pull-requests: write + +jobs: + synchronise-pr-version-npm: + uses: digicatapult/shared-workflows/.github/workflows/synchronise-pr-version-npm.yml@main + with: + pr-number: ${{ github.event.pull_request.number }} + trunk-branch: 'main' + secrets: + bot-id: ${{ secrets.BOT_ID }} + bot-key: ${{ secrets.BOT_KEY }} diff --git a/.github/workflows/synchronise-trunk-version-npm.yml b/.github/workflows/synchronise-trunk-version-npm.yml new file mode 100644 index 0000000..65f5f14 --- /dev/null +++ b/.github/workflows/synchronise-trunk-version-npm.yml @@ -0,0 +1,18 @@ +name: Synchronise all PR versions + +on: + push: + branches: "main" + +permissions: + contents: write + pull-requests: write + +jobs: + synchronise-trunk-version-npm: + uses: digicatapult/shared-workflows/.github/workflows/synchronise-trunk-version-npm.yml@main + with: + trunk-branch: "main" + secrets: + bot-id: ${{ secrets.BOT_ID }} + bot-key: ${{ secrets.BOT_KEY }} diff --git a/package-lock.json b/package-lock.json index ad66e29..f3f3cf9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@digicatapult/sqnc-ipfs", - "version": "2.10.89", + "version": "2.10.90", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@digicatapult/sqnc-ipfs", - "version": "2.10.89", + "version": "2.10.90", "license": "Apache-2.0", "dependencies": { "@polkadot/api": "^14.1.1", diff --git a/package.json b/package.json index 79f9b72..15ad5a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digicatapult/sqnc-ipfs", - "version": "2.10.89", + "version": "2.10.90", "description": "IPFS node for use in SQNC", "main": "app/index.js", "type": "module",