Skip to content

Commit

Permalink
Merge ea1bdf0 into 8a65db9
Browse files Browse the repository at this point in the history
  • Loading branch information
Eomm committed Mar 18, 2022
2 parents 8a65db9 + ea1bdf0 commit 7d3ce29
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: release

on:
workflow_dispatch:
inputs:
semver:
description: "The semver to use"
required: true
default: "patch"
type: choice
options:
- patch
- minor
- major
tag:
description: "The npm tag"
required: false
default: "latest"
pull_request:
types: [closed]

jobs:
call-reuseable-workflow:
uses: fastify/workflows/.github/workflows/release-package.yml@automated-release
with:
semver: ${{ github.event.inputs.semver }}
tag: ${{ github.event.inputs.commit-message }}
secrets:
ORG_NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
ORG_MEMBER_OPTIC_TOKEN: ${{ secrets[format('ORG_OPTIC_TOKEN_{0}', github.actor)] }}

0 comments on commit 7d3ce29

Please sign in to comment.