Skip to content

Conversation

@Farukest
Copy link
Contributor

Summary

  • Auto-create tracking issue when release workflow runs
  • Issue includes checklist (RC, devnet, testnet, mainnet, final release)
  • Auto-assign to whoever triggered the workflow

Changes

  • Added issues: write permission
  • Added Create release tracking issue step using actions/github-script

Closes #437

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Jan 14, 2026

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@haardikk21
Copy link
Collaborator

Looks okay to me but want @danyalprout to review

haardikk21
haardikk21 previously approved these changes Jan 14, 2026
Copy link
Collaborator

@danyalprout danyalprout left a comment

Choose a reason for hiding this comment

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

logic looks great to me, would be fantastic if we could move the logic out to a script in the scripts folder/port it to bash too.

Thanks!

fi
- name: Create release tracking issue
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Verified this is 7.0.1 actions/github-script@60a0d83

Copy link
Collaborator

Choose a reason for hiding this comment

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

good catch. i should've checked this - this is a dangerous workflow with contents: write 🥵

@Farukest
Copy link
Contributor Author

logic looks great to me, would be fantastic if we could move the logic out to a script in the scripts folder/port it to bash too.

Thanks!

All done @danyalprout :)

Comment on lines 61 to 62
env:
GH_TOKEN: ${{ github.token }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you'll need to do this (based on the other scripts)

Comment on lines 13 to 30
TAG_FILE="${RUNNER_TEMP:-}/release_tag"

if [[ ! -f "$TAG_FILE" ]]; then
echo "No tag file found at $TAG_FILE, skipping issue creation"
exit 0
fi

TAG=$(cat "$TAG_FILE")
TAG="${TAG%$'\r'}" # Remove Windows line endings if present
TAG="${TAG%$'\n'}" # Remove newline if present

if [[ -z "$TAG" ]]; then
echo "Tag file is empty, skipping issue creation"
exit 0
fi

echo "=== Create Release Tracking Issue ==="
echo "Tag: $TAG"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@danyalprout. can you check please

- Add step to create release tracking issue with checklist
- Auto-assign issue to workflow triggerer
- Add issues:write permission

Closes base#437
Copy link
Collaborator

@danyalprout danyalprout left a comment

Choose a reason for hiding this comment

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

lgtm, thank you!

@danyalprout danyalprout enabled auto-merge January 14, 2026 15:46
@danyalprout danyalprout added this pull request to the merge queue Jan 14, 2026
Merged via the queue into base:main with commit a9c0bb5 Jan 14, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(gha): auto-create issue for release

4 participants