mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
9
.github/workflows/clang-tidy.yml
vendored
9
.github/workflows/clang-tidy.yml
vendored
@@ -67,7 +67,7 @@ jobs:
|
|||||||
rm output.txt
|
rm output.txt
|
||||||
|
|
||||||
- name: Create an issue
|
- name: Create an issue
|
||||||
if: ${{ steps.run_clang_tidy.outcome != 'success' && github.event_name == 'schedule' }}
|
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
|
||||||
id: create_issue
|
id: create_issue
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
@@ -88,11 +88,11 @@ jobs:
|
|||||||
git_commit_gpgsign: true
|
git_commit_gpgsign: true
|
||||||
|
|
||||||
- name: Create PR with fixes
|
- name: Create PR with fixes
|
||||||
if: ${{ steps.run_clang_tidy.outcome != 'success' && github.event_name == 'schedule' }}
|
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v5
|
||||||
env:
|
env:
|
||||||
GH_REPO: ${{ github.repository }}
|
GH_REPO: ${{ github.repository }}
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ secrets.SIGN_COMMIT_TOKEN }}
|
||||||
with:
|
with:
|
||||||
commit-message: '[CI] clang-tidy auto fixes'
|
commit-message: '[CI] clang-tidy auto fixes'
|
||||||
commiter: Clio CI <skuznetsov@ripple.com>
|
commiter: Clio CI <skuznetsov@ripple.com>
|
||||||
@@ -100,8 +100,9 @@ jobs:
|
|||||||
branch-suffix: timestamp
|
branch-suffix: timestamp
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
title: '[CI] clang-tidy auto fixes'
|
title: '[CI] clang-tidy auto fixes'
|
||||||
body: 'Fixes #${{ steps.create_issue.outputs.created_issue }}. Please review and commit clang-tidy fixes'
|
body: 'Fixes #${{ steps.create_issue.outputs.created_issue }}. Please review and commit clang-tidy fixes.'
|
||||||
reviewers: 'cindyyan317,godexsoft,kuznetsss'
|
reviewers: 'cindyyan317,godexsoft,kuznetsss'
|
||||||
|
push-to-fork: 'kuznetsss/clio'
|
||||||
|
|
||||||
- name: Fail the job
|
- name: Fail the job
|
||||||
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
|
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user