Skip to content

Commit

Permalink
feat: add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
nuragic committed Dec 7, 2021
1 parent c8f3391 commit ee91e13
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release

on:
workflow_dispatch:
inputs:
semver:
description: 'The semver to use'
required: true
default: 'patch'
pull_request:
types: [closed]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: nearform/optic-release-automation-action@v2.3.0
with:
github-token: ${{ secrets.github_token }}
semver: ${{ github.event.inputs.semver }}
sync-semver-tags: true

0 comments on commit ee91e13

Please sign in to comment.