Skip to content

Commit

Permalink
ci: Fix release link in released fix notifier (#2997)
Browse files Browse the repository at this point in the history
* Fix issue link
* Depend on release
  • Loading branch information
provinzkraut authored Jan 18, 2024
1 parent f31b0d7 commit bc6d502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/notify_released_issues/notify.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = async ({github, context, core}) => {

const issues = JSON.parse(process.env.CLOSED_ISSUES)
const releaseURL = context.payload.release.url
const releaseURL = context.payload.release.html_url
const releaseName = context.payload.release.name
const baseBody = "A fix for this issue has been released in"
const body = baseBody + ` [${releaseName}](${releaseURL})`
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1

notify-issues:
needs: publish-release
name: Notify issues
uses: ./.github/workflows/notify-released-issues.yml
with:
Expand Down

0 comments on commit bc6d502

Please sign in to comment.