mirror of https://github.com/ceph/go-ceph
workflows: automatically file an issue using report-stable
This is a manual workflow, you must trigger it from the github ui, but most everything after that is automated. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
34ba505ee9
commit
9b22436680
|
@ -10,9 +10,13 @@ jobs:
|
||||||
find-updates:
|
find-updates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
# Checkout with fetch-depth=0 in order to fetch (all) tags.
|
||||||
|
# The Makefile runs git commands to pass tag info to the apiage script.
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Run makefile
|
- name: Run makefile
|
||||||
run: make api-report-updates RESULTS_DIR=_results
|
run: make api-report-issuetemplate RESULTS_DIR=_results
|
||||||
- name: Archive test results
|
- name: Archive test results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -20,5 +24,14 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
_results/
|
_results/
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
if: "!cancelled()"
|
||||||
|
- name: File Issue
|
||||||
|
uses: JasonEtco/create-an-issue@v2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
filename: _results/issue.md
|
||||||
|
update_existing: true
|
||||||
|
|
||||||
|
|
||||||
# TODO: teach this thing how to file an issue automatically
|
# TODO: teach this thing how to file an issue automatically
|
||||||
|
|
Loading…
Reference in New Issue