Skip to content

Commit

Permalink
Merge pull request #182 from Adyen/develop
Browse files Browse the repository at this point in the history
Migrate release-automation-action, merge to main
  • Loading branch information
Aleffio authored Oct 9, 2023
2 parents 281c235 + 420b16b commit 145b7e4
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 24 deletions.
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/[email protected]
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

0 comments on commit 145b7e4

Please sign in to comment.