Skip to content

Commit be134fa

Browse files
Add workflow for generating release notes (#5832)
* add release notes workflow * change permissions in release-notes workflow
1 parent efb2d0e commit be134fa

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33

44
/.github/workflows @elastic/observablt-ci
55
/.github/workflows/golangci-lint.yml @elastic/elastic-agent-control-plane
6+
/.github/workflows/release-notes.yml @elastic/ingest-docs @elastic/elastic-agent-control-plane
67
/docs/release-notes @elastic/ingest-docs
78
/docs/docset.yml @elastic/ingest-docs
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Generate release notes
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
bc_commit_sha:
7+
description: 'Commit SHA for the build candidate'
8+
type: string
9+
required: true
10+
version:
11+
description: 'Version to be released (for example, `9.2.1`)'
12+
type: string
13+
required: true
14+
15+
jobs:
16+
build-release-notes:
17+
uses: elastic/elastic-agent-changelog-tool/.github/workflows/generate-release-notes.yml@main
18+
with:
19+
product: Fleet Server
20+
labels: docs,forwardport-main,release,skip-changelog,Team:Docs
21+
bc_commit_sha: ${{ inputs.bc_commit_sha }}
22+
version: ${{ inputs.version }}
23+
release_manager: ${{ github.triggering_actor }}
24+
permissions:
25+
contents: read
26+
id-token: write

0 commit comments

Comments
 (0)