Skip to content

Commit

Permalink
Add version bump flows (#280)
Browse files Browse the repository at this point in the history
* Add version bump flows

* Updating version to 2.10.90

---------

Co-authored-by: dc-autobot[bot] <181364585+dc-autobot[bot]@users.noreply.github.com>
  • Loading branch information
mattdean-digicatapult and dc-autobot[bot] authored Oct 24, 2024
1 parent a9a31b9 commit 2e85f33
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/synchronise-pr-version-npm.yml
Original file line number Diff line number Diff line change
@@ -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 }}
18 changes: 18 additions & 0 deletions .github/workflows/synchronise-trunk-version-npm.yml
Original file line number Diff line number Diff line change
@@ -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 }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 2e85f33

Please sign in to comment.