From fb0ac351bca69957fae8fd9e9ab44d75c980a791 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 6 Oct 2023 09:47:55 +0100 Subject: [PATCH] Update `make docs` procedure (#76096) * Update `make docs` procedure * Do not run workflow on forks Signed-off-by: Jack Baldry * Add labels Signed-off-by: Jack Baldry --------- Signed-off-by: Jack Baldry Co-authored-by: grafanabot Co-authored-by: Jack Baldry --- .github/workflows/update-make-docs.yml | 4 ++-- docs/make-docs | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-make-docs.yml b/.github/workflows/update-make-docs.yml index 7494c55cc23..1bd0f70cb71 100644 --- a/.github/workflows/update-make-docs.yml +++ b/.github/workflows/update-make-docs.yml @@ -4,13 +4,13 @@ on: - cron: '0 7 * * 1-5' jobs: main: + if: github.repository == 'grafana/grafana' runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Update procedure - if: github.repository != 'grafana/writers-toolkit' run: | curl -s -Lo docs/docs.mk https://raw.githubusercontent.com/grafana/writers-toolkit/main/docs/docs.mk curl -s -Lo docs/make-docs https://raw.githubusercontent.com/grafana/writers-toolkit/main/docs/make-docs @@ -22,6 +22,6 @@ jobs: git config --local user.name "grafanabot" git commit -m "Update \`make docs\` procedure" git push -v origin "refs/heads/${BRANCH}" - gh pr create --fill + gh pr create --fill --label no-changelog --label --no-backport --label type/docs env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/make-docs b/docs/make-docs index 97dcbf5b044..94683de344c 100755 --- a/docs/make-docs +++ b/docs/make-docs @@ -6,6 +6,10 @@ # [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes. # Changes are relevant to this script and the support docs.mk GNU Make interface. +# ## 4.2.2 (2023-10-05) + +# - Added support for Jira data source and MongoDB data source plugins repositories. + # ## 4.2.1 (2023-09-13) # ## Fixed @@ -213,6 +217,8 @@ SOURCES_grafana_cloud_frontend_observability_faro_web_sdk='faro-web-sdk' SOURCES_helm_charts_mimir_distributed='mimir' SOURCES_helm_charts_tempo_distributed='tempo' SOURCES_opentelemetry='opentelemetry-docs' +SOURCES_plugins_grafana_jira_datasource='jira-datasource' +SOURCES_plugins_grafana_mongodb_datasource='mongodb-datasource' SOURCES_plugins_grafana_splunk_datasource='splunk-datasource' VERSIONS_as_code='UNVERSIONED'