Skip to content

Commit

Permalink
chore: input branch to release pr action (#77)
Browse files Browse the repository at this point in the history
# Ticket 🎫

This closes #76.

# Description 📖
Updates the workflow with a string input and passes the input to the
reusable workflow.
  • Loading branch information
velramiir authored Sep 29, 2023
1 parent 04a492d commit 4ce5bab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
name: ✨ Create Release PR

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
branch:
type: string
description: The branch with the changes that shall be released.
default: "main"

jobs:
create-release-pr:
name: Create Release PR
uses: dot-base/.github/.github/workflows/create-release-pr.yml@main
with:
branch: ${{ inputs.branch }}
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}

0 comments on commit 4ce5bab

Please sign in to comment.