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
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: "Release Automation"

on:
Expand All @@ -25,6 +24,11 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
# PR is guaranteed merged (see job `if`), so this commit is on master.
# Checking out the merge commit avoids fetching fork PR code, which
# actions/checkout v7 refuses in pull_request_target workflows.
ref: ${{ github.event.pull_request.merge_commit_sha }}

- name: Extract Version from PR Title
env:
Expand Down Expand Up @@ -66,3 +70,4 @@ jobs:
gh release create "$VERSION" \
--title "$VERSION" \
--notes-file release_notes.md

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.

is it needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

its not, will make sure it's not in the source yaml