Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .github/workflows/gh_release.yml
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.0
with:
project-name: Ruby
secrets: inherit
release-title: Adyen Ruby API Library
develop-branch: main
secrets:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Prepare release

on:
workflow_dispatch:
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@v3
- name: Prepare the next main release
uses: Adyen/release-automation-action@v1.1.0
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
develop-branch: main
version-files: lib/adyen/version.rb
15 changes: 0 additions & 15 deletions .github/workflows/release_request.yml

This file was deleted.

1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.3.1