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
41 changes: 0 additions & 41 deletions .github/release-drafter.yml

This file was deleted.

23 changes: 13 additions & 10 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,29 @@ on:
push:
branches:
- main
workflow_dispatch:
inputs:
dry-run:
description: Compute the next version without creating or publishing a release
type: boolean
default: false

concurrency:
group: release-drafter
cancel-in-progress: false

permissions:
contents: read

jobs:
update_release_draft:
draft_release:
name: Create Release
permissions:
contents: write
pull-requests: read
pull-requests: write

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟨 Unnecessary PR write permission

The release job grants pull-requests: write to an action that only reads PR metadata. Compromised action code can modify repository pull requests.

Devin Review


Was this helpful? React with πŸ‘ or πŸ‘Ž to provide feedback.

runs-on: ubuntu-latest
steps:
# Drafts the next Release notes as Pull Requests are merged into "main"
# Pinned to v6.0.0 to avoid v6.1.0 bug: https://github.com/release-drafter/release-drafter/issues/1425
- uses: release-drafter/release-drafter@v6.0.0
- name: Create or publish release
uses: aaronsteers/semantic-pr-release-drafter@v2.4.4
with:
config-name: release-drafter.yml
disable-autolabeler: true
publish: true
dry-run: ${{ inputs.dry-run || false }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/update-major-tags.yml

This file was deleted.

Loading