Debian Codegraph @

.github/workflows/release-drafter.yml

raw symbols SCIP
1 name: Release drafter
2
3 on:
4 push:
5 # branches to consider in the event; optional, defaults to all
6 branches:
7 - main
8 # pull_request event is required only for autolabeler
9 pull_request:
10 # Only following types are handled by the action, but one can default to all as well
11 types: [opened, reopened, synchronize]
12 # pull_request_target event is required for autolabeler to support PRs from forks
13 # pull_request_target:
14 # types: [opened, reopened, synchronize]
15 workflow_dispatch:
16
17 jobs:
18 update_release_draft:
19 if: github.event.repository.fork == false
20 permissions:
21 # write permission is required to create a GitHub Release
22 contents: write
23 # write permission is required for autolabeler
24 # otherwise, read permission is required at least
25 pull-requests: write
26 runs-on: ubuntu-latest
27 steps:
28 # Drafts your next release notes as pull requests are merged into "main"
29 - uses: release-drafter/release-drafter@v6
30 env:
31 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}