Skip to content

Commit cf5063f

Browse files
github-actions[bot]dependabot[bot]mathomp4
authored
Auto GitFlow - main → release/v2 (#4996)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthew Thompson <matthew.thompson@nasa.gov> Signed-off-by: dependabot[bot] <support@github.com>
1 parent 64635c0 commit cf5063f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/push-to-main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
workflow_dispatch:
78

89
jobs:
910
pull_request:
@@ -18,7 +19,7 @@ jobs:
1819
fetch-depth: 0
1920
filter: blob:none
2021
- name: Run the action
21-
uses: devops-infra/action-pull-request@v1.2.0
22+
uses: devops-infra/action-pull-request@v1.2.1
2223
with:
2324
github_token: ${{ secrets.GITHUB_TOKEN }}
2425
source_branch: main
@@ -28,6 +29,6 @@ jobs:
2829
get_diff: true
2930
assignee: ${{ github.actor }}
3031
old_string: "<!-- Write your description here -->"
31-
new_string: ${{ github.event.commits[0].message }}
32+
new_string: ${{ github.event.commits && github.event.commits[0].message || 'Manually triggered' }}
3233
title: Auto GitFlow - main → release/v2
3334

0 commit comments

Comments
 (0)