Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix workflow again #9

Merged
merged 2 commits into from
Feb 10, 2024
Merged
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
15 changes: 11 additions & 4 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: "Create PR to bump version"

env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}

on:
workflow_dispatch:
branches:
Expand All @@ -24,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- name: Debug
- name: DEBUG
run: echo ${{ github.event.inputs.versionType }}
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand Down Expand Up @@ -61,6 +58,8 @@ jobs:
run: sed -i "s/VERSION := .*/VERSION := ${{ env.newVersion }}/g" Makefile
# Create PR
- name: Create PR with new version
env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
Expand All @@ -73,6 +72,8 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- name: DEBUG
run: echo ${{ github.event.inputs.versionType }}
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install jq to update json
Expand Down Expand Up @@ -110,6 +111,8 @@ jobs:
run: sed -i "s/VERSION := .*/VERSION := ${{ env.newVersion }}/g" Makefile
# Create PR
- name: Create PR with new version
env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
Expand All @@ -123,6 +126,8 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- name: DEBUG
run: echo ${{ github.event.inputs.versionType }}
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install jq to update json
Expand Down Expand Up @@ -162,6 +167,8 @@ jobs:
run: sed -i "s/VERSION := .*/VERSION := ${{ env.newVersion }}/g" Makefile
# Create PR
- name: Create PR with new version
env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
Expand Down
Loading