-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (28 loc) · 1.07 KB
/
bump-formula.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Bump Formula
on:
workflow_dispatch:
inputs:
old_version:
description: 'Old version (example: v0.13.0)'
required: true
new_version:
description: 'New version (example: v0.14.0)'
required: true
jobs:
open-pr:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Bump formula versions
run: .github/bump-formula.rb ${{ github.event.inputs.old_version }} ${{ github.event.inputs.new_version }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Bump formula versions from `${{ github.event.inputs.old_version }}` to `${{ github.event.inputs.new_version }}`
title: Bump formula versions from `${{ github.event.inputs.old_version }}` to `${{ github.event.inputs.new_version }}`
body: |
Bumps formula versions from `${{ github.event.inputs.old_version }}` to `${{ github.event.inputs.new_version }}`