/
githubmirror
/
grafana
Обзор
Документация
Войти
/
githubmirror
/
grafana
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/github-release.yml
59 строк
2 KB
Matheus Macabu
CI: Use self-hosted runners everywhere (#125438)
26 май 2026, 19:50
Не верифицирован
26 май 2026, 19:50
d266b04
Код
Авторство
О чём код?
name: Create or update GitHub release on: workflow_call: inputs: version: required: true description: Needs to match, exactly, the name of a milestone (NO v prefix) type: string latest: required: false default: "0" description: Mark this release as latest (`1`) or not (`0`, default) type: string dry_run: required: false default: false type: boolean workflow_dispatch: inputs: version: required: true description: Needs to match, exactly, the name of a milestone (NO v prefix) type: string latest: required: false default: "0" description: Mark this release as latest (`1`) or not (`0`, default) type: string dry_run: required: false default: false type: boolean permissions: {} jobs: main: permissions: # contents: write allows the action(s) to create github releases contents: write id-token: write runs-on: ubuntu-arm64-small steps: - name: Create GitHub release (manually invoked) uses: grafana/grafana-github-actions-go/github-release@main # zizmor: ignore[unpinned-uses] with: token: ${{ secrets.GITHUB_TOKEN }} version: ${{ inputs.version }} latest: ${{ inputs.latest }} dry_run: ${{ inputs.dry_run }} deploy-storybook: needs: main if: ${{ !inputs.dry_run && inputs.latest == '1' }} permissions: contents: read id-token: write uses: grafana/grafana/.github/workflows/deploy-storybook.yml@main with: version: ${{ inputs.version }}