Skip to content

[ci] generate upstream update changelog#1037

Draft
SylvainJuge wants to merge 16 commits intomainfrom
changelog-upstream-updates
Draft

[ci] generate upstream update changelog#1037
SylvainJuge wants to merge 16 commits intomainfrom
changelog-upstream-updates

Conversation

@SylvainJuge
Copy link
Copy Markdown
Member

  • add step to generate changelog for upstream
  • add wip changelog generation

…ead of undefined input (#1038)

* Fix checkout ref to use workflow_run.head_sha instead of undefined inputs.ref

* Fix workflow_run event context references in changelog-submit-upstream-update workflow

* Add missing BRANCH_NAME env var to changelog workflow step

* Fix variable reference from ${pr_id} to ${PR_NUMBER} in changelog workflow

---------

Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
mv "docs/changelog/${PR_NUMBER}.yaml" "./docs/changelog/upstream-update.yaml"
git add --all ./docs/changelog/
git commit -m "Add changelog for upstream update"
git push origin HEAD:${BRANCH_NAME}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

[wip] this is where it currently fails because we don't have the name of the branch to push to, this happens because we have a "detached head".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant