fix workflow
This commit is contained in:
@@ -61,7 +61,8 @@ jobs:
|
|||||||
id: get_head_commit_message
|
id: get_head_commit_message
|
||||||
run: echo "::set-output name=headCommitMsg::$(git show -s --format=%s)"
|
run: echo "::set-output name=headCommitMsg::$(git show -s --format=%s)"
|
||||||
- name: Print PR title
|
- name: Print PR title
|
||||||
run: echo "PR title: ${{ github.event.pull_request.title }}"
|
run: |
|
||||||
|
echo "PR title: ${{ github.event.pull_request.title }}"
|
||||||
|
|
||||||
automerge-and-approve:
|
automerge-and-approve:
|
||||||
needs:
|
needs:
|
||||||
@@ -71,8 +72,7 @@ jobs:
|
|||||||
if: ${{
|
if: ${{
|
||||||
contains(needs.print_head_msg.outputs.head-commit-message, 'By Renovate') ||
|
contains(needs.print_head_msg.outputs.head-commit-message, 'By Renovate') ||
|
||||||
contains(needs.print_head_msg.outputs.head-commit-message, '.all-contributorsrc') ||
|
contains(needs.print_head_msg.outputs.head-commit-message, '.all-contributorsrc') ||
|
||||||
contains(github.event.pull_request.title, 'container image common')
|
contains(github.event.pull_request.title, 'image common') }}
|
||||||
}} # Runs if conditions are met
|
|
||||||
name: Automerge and Approve build
|
name: Automerge and Approve build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
Reference in New Issue
Block a user