Skip to content

Commit

Permalink
Workflow API asks for title now
Browse files Browse the repository at this point in the history
  • Loading branch information
NSPC911 committed Jul 25, 2024
1 parent 41df471 commit 3bc33bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/submodule-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Update Submodules

on:
workflow_dispatch:
inputs:
title:
description: 'Title for the workflow run'
required: true
default: 'Triggered by API'

jobs:
update-submodules:
Expand Down Expand Up @@ -32,5 +37,5 @@ jobs:
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Updated submodules"
git push origin main
git commit -m "Updated submodules - ${{ github.event.inputs.title }}"
git push origin main

0 comments on commit 3bc33bd

Please sign in to comment.