mirror of
https://github.com/ceph/go-ceph
synced 2024-12-20 13:21:32 +00:00
b259c02493
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
967 B
YAML
38 lines
967 B
YAML
|
|
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:
|
|
# 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@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Run makefile
|
|
run: make api-report-issuetemplate RESULTS_DIR=_results
|
|
- name: Archive test results
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: "go-ceph-api-updates"
|
|
path: |
|
|
_results/
|
|
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
|