-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single branch release and development (#585)
* Single branch for release and development * Migrate generators to main * Fix VERSION location
- Loading branch information
1 parent
5a21e42
commit a2c1cc7
Showing
8 changed files
with
50 additions
and
45 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,16 +1,20 @@ | ||
name: Github Release | ||
name: Automatic Github release | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- VERSION | ||
|
||
jobs: | ||
gh_release: | ||
github: | ||
permissions: | ||
contents: write | ||
uses: Adyen/adyen-node-api-library/.github/workflows/lib-gh-release.yml@develop | ||
uses: Adyen/release-automation-action/.github/workflows/reusable-github-release.yml@v1.1.1 | ||
with: | ||
project-name: PHP | ||
secrets: inherit | ||
release-title: Adyen PHP API Library | ||
develop-branch: main | ||
secrets: | ||
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }} |
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
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,32 @@ | ||
name: Prepare release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pre-release: | ||
required: false | ||
type: boolean | ||
default: false | ||
description: "This release will be labeled as non-production ready" | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- main | ||
|
||
jobs: | ||
candidate: | ||
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged && !startsWith(github.head_ref, 'promote/')) | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Prepare the next main release | ||
uses: Adyen/[email protected] | ||
with: | ||
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }} | ||
develop-branch: main | ||
version-files: src/Adyen/Client.php README.md | ||
pre-release: ${{ inputs.pre-release || false }} |
This file was deleted.
Oops, something went wrong.
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
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
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
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 @@ | ||
16.0.0 |