workflows: add a new sub workflow to help detect api updates

Right now this workflow needs to be run manually and it will generate
some files that are archived. The plan is to build upon this as a base
eventually teaching the workflow how to automatically file an issue
reporting on what API updates are needed after each release.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-08-16 14:21:02 -04:00 committed by mergify[bot]
parent 7b73ae7bdd
commit 7f7ea45345
1 changed files with 24 additions and 0 deletions

24
.github/workflows/report-stable.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Report-API-Updates
# Run tests on pull requests and when changes are directly
# commited to master.
on:
workflow_dispatch: {}
jobs:
find-updates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run makefile
run: make api-report-updates RESULTS_DIR=_results
- name: Archive test results
uses: actions/upload-artifact@v3
with:
name: "go-ceph-api-updates"
path: |
_results/
retention-days: 30
# TODO: teach this thing how to file an issue automatically