Skip to content

Commit

Permalink
Custom action (#12)
Browse files Browse the repository at this point in the history
* Update release.yml

* Update release.yml

* Add permissions

* Update release.yml

* update package.json

* switch to release version
  • Loading branch information
michaelpaul authored Aug 18, 2023
1 parent 0524a2f commit 2e52272
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
name: Release request

on:
workflow_dispatch:
inputs:
prerelease:
required: false
type: boolean
default: false
description: "This release will be labeled as non-production ready"
push:
branches:
- develop
push:
branches:
- develop

jobs:
release:
main:
permissions:
contents: write
pull-requests: write
uses: ./.github/workflows/lib-release.yml
with:
prerelease: ${{ inputs.prerelease || false }}
secrets: inherit
runs-on: ubuntu-latest
steps:
- name: Prepare the next main release
uses: michaelpaul/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
develop-branch: develop
release-branch: main
version-files: package.json
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.0.0

0 comments on commit 2e52272

Please sign in to comment.