mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ci: automatically open an issue in case the fuzzing CI fails
This commit is contained in:
parent
ba678120d8
commit
ee62a55adc
6
.github/fuzzing_issue_template.md
vendored
Normal file
6
.github/fuzzing_issue_template.md
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: '[CI] Fuzzing Workflow Failed'
|
||||||
|
labels: ['Fuzzing']
|
||||||
|
---
|
||||||
|
The automated fuzzing workflow has failed.
|
||||||
|
See {{ env.WORKFLOW_RUN_URL }} for details.
|
||||||
10
.github/workflows/fuzzing.yml
vendored
10
.github/workflows/fuzzing.yml
vendored
@ -36,3 +36,13 @@ jobs:
|
|||||||
for fuzz_binary in build/px4_sitl_test/*fuzz*; do
|
for fuzz_binary in build/px4_sitl_test/*fuzz*; do
|
||||||
./Tools/ci/run_fuzz_tests.sh $fuzz_binary 15m
|
./Tools/ci/run_fuzz_tests.sh $fuzz_binary 15m
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Create a github issue in case of a failure
|
||||||
|
- name: Create Issue
|
||||||
|
if: ${{ failure() }}
|
||||||
|
uses: JasonEtco/create-an-issue@v2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
WORKFLOW_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
with:
|
||||||
|
filename: .github/fuzzing_issue_template.md
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user