Skip to content
Merged
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
11 changes: 7 additions & 4 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Draft the next release notes
#
# This workflow is run to update the next release notes as pull requests are
# merged into the main branch. The configuration file is located at
# `.github/release-drafter.yml`.
# This workflow is run to update the next release notes as pull requests are merged into
# the main branch. The configuration file is located at `.github/release-drafter.yml`.
#
name: Release Drafter

Expand All @@ -11,10 +10,14 @@ on:
branches:
- main

permissions: {}
permissions:
contents: read

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
runs-on: ubuntu-latest
if: github.repository == 'GenericMappingTools/pygmt'

Expand Down