-
Notifications
You must be signed in to change notification settings - Fork 19
35 lines (32 loc) · 1.06 KB
/
version_change.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
31
32
33
34
35
name: "🗂 Version Change"
on:
workflow_dispatch:
inputs:
version:
description: "Version (no 'v' prefix)"
required: true
jobs:
create_version_pull_request:
name: "🗂 Create Version Pull Request"
runs-on: ubuntu-latest
steps:
- name: "🧾 Checkout"
uses: actions/checkout@v4
- name: "📝 Change Version"
uses: vers-one/dotnet-project-version-updater@v1.7
with:
file: "Chickensoft.GodotGame.csproj"
version: ${{ github.event.inputs.version }}
- name: "⤴️ Create Pull Request"
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: version/${{ github.event.inputs.version }}
commit-message: >
update version to ${{ github.event.inputs.version }}
title: >
"chore(project): update version to
${{ github.event.inputs.version }}"
body: >
chore(project): update the version to
${{ github.event.inputs.version }}.