From 7f7ea45345cc43b1c66334895021d98c0a1beebc Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 16 Aug 2022 14:21:02 -0400 Subject: [PATCH] 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 --- .github/workflows/report-stable.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/report-stable.yml diff --git a/.github/workflows/report-stable.yml b/.github/workflows/report-stable.yml new file mode 100644 index 0000000..8990cbd --- /dev/null +++ b/.github/workflows/report-stable.yml @@ -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