forked from Adyen/adyen-node-api-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update release.yml * Update release.yml * Add permissions * Update release.yml * update package.json * switch to release version
- Loading branch information
1 parent
0524a2f
commit 2e52272
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
14.0.0 |