File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,15 @@ name: Update `make docs` procedure
22on :
33 schedule :
44 - cron : ' 0 7 * * 1-5'
5+ workflow_dispatch :
56jobs :
67 main :
78 if : github.repository == 'grafana/k6-docs'
89 runs-on : ubuntu-latest
910 steps :
10- - name : Checkout repository
11- uses : actions/checkout@v4
12-
13- - name : Update procedure
14- run : |
15- BRANCH="update-make-docs"
16- git checkout -b "${BRANCH}"
17- curl -s -Lo docs/docs.mk https://raw.githubusercontent.com/grafana/writers-toolkit/main/docs/docs.mk
18- curl -s -Lo docs/make-docs https://raw.githubusercontent.com/grafana/writers-toolkit/main/docs/make-docs
19- if git diff --exit-code; then exit 0; fi
20- git add .
21- git config --local user.email "[email protected] " 22- git config --local user.name "grafanabot"
23- git commit -m "Update \`make docs\` procedure"
24- git push -v origin "refs/heads/${BRANCH}"
25- gh pr create --fill --label type/docs || true
26- env :
27- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11+ - uses : actions/checkout@v4
12+ - uses : grafana/writers-toolkit/update-make-docs@update-make-docs/v1
13+ with :
14+ pr_options : >
15+ --label type/docs
16+ trace : true
You can’t perform that action at this time.
0 commit comments