add prometheus example script #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request_target: | |
types: | |
- closed | |
paths: | |
- 'examples-manifest.json' | |
jobs: | |
if_merged: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3 | |
- name: execute script | |
run: | | |
python ./tools/json-to-md.py ./examples-manifest.json | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "Update legacy manifest (${{ github.event.pull_request.title }})" | |
git push |