Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 11 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
template: |
## What's Changed
$CHANGES

## Contributors
$CONTRIBUTORS

**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION
change-template: '- $TITLE by @$AUTHOR in #$NUMBER'
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create Release on Latest Tag Push

on:
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Create Release
uses: release-drafter/release-drafter@v6
Copy link
Contributor

Choose a reason for hiding this comment

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

I live in constant fear of GHA supply chain attacks. We should make sure we review this action.

Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps we should lock a specific image digest instead of the tag?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just pinned this to b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 from the tag here: https://github.com/release-drafter/release-drafter/releases/tag/v6.1.0

with:
name: ${{ github.ref_name }}
tag: ${{ github.ref_name }}
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}