Skip to content

Commit

Permalink
Merge pull request #8 from cewert/fix-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Feb 10, 2024
2 parents 9760253 + 6d571af commit a5d47d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Create PR to bump version"

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

on:
workflow_dispatch:
branches:
Expand Down Expand Up @@ -59,7 +62,7 @@ jobs:
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
git checkout -b "bump-${{ env.refNameSlug }}-to-${{ env.newVersionSlug }}"
git checkout -b bump-${{ env.refNameSlug }}-to-${{ env.newVersionSlug }}
git add .
git commit -m "Bump ${{ github.event.inputs.versionType }} version"
gh pr create --base ${{ github.ref_name }} --head ${{ github.ref_name }} --fill
Expand Down Expand Up @@ -108,7 +111,7 @@ jobs:
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
git checkout -b "bump-${{ env.refNameSlug }}-to-${{ env.newVersionSlug }}"
git checkout -b bump-${{ env.refNameSlug }}-to-${{ env.newVersionSlug }}
git add .
git commit -m "Bump ${{ github.event.inputs.versionType }} version"
gh pr create --base ${{ github.ref_name }} --head ${{ github.ref_name }} --fill
Expand Down Expand Up @@ -160,7 +163,7 @@ jobs:
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
git checkout -b "bump-${{ env.refNameSlug }}-to-${{ env.newVersionSlug }}"
git checkout -b bump-${{ env.refNameSlug }}-to-${{ env.newVersionSlug }}
git add .
git commit -m "Bump ${{ github.event.inputs.versionType }} version"
gh pr create --base ${{ github.ref_name }} --head ${{ github.ref_name }} --fill
Expand Down

0 comments on commit a5d47d1

Please sign in to comment.