mirror of https://github.com/ceph/go-ceph
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:
parent
7b73ae7bdd
commit
7f7ea45345
|
@ -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
|
Loading…
Reference in New Issue