Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Release Drafter (Release Branches)
name: Release Drafter

on:
push:
branches:
- 'release/**'
pull_request:
# needed so autolabeler runs on PRs from forks before merge,
# for when PR is finally merged into a release branch.
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write # needed to create/update the draft release
pull-requests: write # needed for the autolabeler
# Required to create/update the draft release
# Autolabeling runs in a separate workflow so this job only
# needs to read merged PRs
contents: write
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
with:
egress-policy: audit

- uses: release-drafter/release-drafter@v6
- uses: release-drafter/release-drafter@563bf132657a13ded0b01fcb723c5a58cdd824e2
with:
# Target the branch that triggered this run
# Ex: "release/2.1" becomes the commitish for the draft
commitish: ${{ github.ref_name }}
repository: ${{ github.repository }}
config-name: release-drafter-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading