Categorygithub.com/grafana/grafana-github-actions-go
module
0.0.0-20241210150848-334a2f0234d6
Repository: https://github.com/grafana/grafana-github-actions-go.git
Documentation: pkg.go.dev

# README

grafana-github-actions-go

This repository contains a handful of GitHub Actions that are mostly used in the context of releasing Grafana packages.

update-changelog

This action generates an update to the CHANGELOG.md file based on pull-requests included in a release-milestone. The following inputs need to be provided:

  • version (e.g. 9.4.0) which matches the name of the relevant milestone inside the grafana/grafana project.
  • token which represents a GitHub token which has read access to the relevant projects and can push to the target project for creating a new PR with the updated changelog.
  • metrics_api_endpoint (default: https://graphite-us-central1.grafana.net/metrics): Graphite HTTP endpoint to submit usage metrics to.
  • metrics_api_key: API key for that Graphite endpoint (will be used as HTTP Basic Auth password).
  • metrics_api_username: Username for that Graphite endpoint.

Example workflow:

name: Update changelog
on:
  workflow_dispatch:
    inputs:
      version:
        description: Needs to match, exactly, the name of a version
        required: true
        type: string
jobs:
  main:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: grafana/grafana-github-actions-go/update-changelog@main
        with:
          version: ${{ inputs.version }}
          token: "${{secrets.GH_TOKEN}}"

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package main provides PR migration functionality for updating pull request base branches and notifying users of the update.
No description provided by the author
No description provided by the author