Skip to content

Maintenance: Split changelog generation in a separate workflow #1398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 2 tasks
heitorlessa opened this issue Jul 29, 2022 · 2 comments
Closed
1 of 2 tasks

Maintenance: Split changelog generation in a separate workflow #1398

heitorlessa opened this issue Jul 29, 2022 · 2 comments
Assignees
Labels
tech-debt Technical Debt tasks

Comments

@heitorlessa
Copy link
Contributor

heitorlessa commented Jul 29, 2022

Summary

We should create a new reusable workflow to generate changelog based on merge and upon releases.

Why is this needed?

Recent release failed to push newly generated CHANGELOG due to the new lockdown permissions. GitHub doesn't seem to have all permissions fully documented to know which property we must change. Moving to a separate workflow allows us to resolve two problems: 1/ decouple restricted release permissions with changelog update, and 2/ always generate a new changelog upon a merge

remote: Permission to awslabs/aws-lambda-powertools-python.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/awslabs/aws-lambda-powertools-python/': The requested URL returned error: 403
Error: Process completed with exit code 128.

Which area does this relate to?

Automation, Governance

Solution

No response

Acknowledgment

@heitorlessa heitorlessa added triage Pending triage from maintainers internal Maintenance changes and removed triage Pending triage from maintainers labels Jul 29, 2022
@heitorlessa
Copy link
Contributor Author

When fully automated with docs being a separate workflow (changelog included), it should look like

  • On new successful merge -> call docs workflow -> rebuild latest changelog (UNRELEASED)
  • On successful release -> call docs workflow -> publish new docs version, rebuild latest changelog (new version)
  • On successful layer -> call docs workflow -> update Layer Version

@heitorlessa heitorlessa self-assigned this Jul 29, 2022
@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Aug 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2022

This is now released under 1.27.0 version!

@github-actions github-actions bot closed this as completed Aug 5, 2022
@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Aug 5, 2022
@heitorlessa heitorlessa added tech-debt Technical Debt tasks and removed internal Maintenance changes labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Technical Debt tasks
Projects
None yet
Development

No branches or pull requests

1 participant