Skip to content

chore: remove unused PR automation workflows#8008

Merged
leandrodamascena merged 4 commits intodevelopfrom
cleanup/remove-pr-automation-workflows
Feb 27, 2026
Merged

chore: remove unused PR automation workflows#8008
leandrodamascena merged 4 commits intodevelopfrom
cleanup/remove-pr-automation-workflows

Conversation

@dreamorosi
Copy link
Contributor

Issue number: closes #8007

Summary

Changes

Remove unused PR automation workflows and scripts that have been replaced by the Powertools OSS Automation GitHub App. This cleanup removes 838 lines of code across 15 files including:

  • 7 GitHub workflow files (record_pr.yml, on_opened_pr.yml, on_merged_pr.yml, on_label_added.yml, reusable_export_pr_details.yml, label_pr_on_title.yml, dispatch_analytics.yml)
  • 8 JavaScript automation scripts in .github/scripts/
  • Updated references in remaining workflows

User experience

Before: Repository maintained complex workflow-based PR automation with multiple interdependent workflows for labeling, validation, and post-merge actions.

After: Simplified CI/CD infrastructure with automation handled by the GitHub App. No user-facing changes - all automation functionality is preserved but moved to the app-based system.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Remove record_pr.yml and dependent workflows (on_opened_pr, on_merged_pr, on_label_added, reusable_export_pr_details, label_pr_on_title)
- Remove associated JavaScript files (save_pr_details.js, label_pr_based_on_title.js)
- Update on_pr_updates.yml comment to remove reference to deleted workflow
- Automation now handled by GitHub App
Remove 6 unused scripts that were used by deleted PR workflows:
- comment_on_large_pr.js
- download_pr_artifact.js
- enforce_acknowledgment.js
- label_missing_acknowledgement_section.js
- label_missing_related_issue.js
- label_related_issue.js

Keep post_release.js and constants.js as they're still used.
@dreamorosi dreamorosi requested a review from a team as a code owner February 26, 2026 15:09
@boring-cyborg boring-cyborg bot added the github-actions Pull requests that update Github_actions code label Feb 26, 2026
@pull-request-size pull-request-size bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Feb 26, 2026
@dreamorosi dreamorosi self-assigned this Feb 26, 2026
@sonarqubecloud
Copy link

@leandrodamascena leandrodamascena merged commit fe81b0d into develop Feb 27, 2026
8 checks passed
@leandrodamascena leandrodamascena deleted the cleanup/remove-pr-automation-workflows branch February 27, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github-actions Pull requests that update Github_actions code size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: remove PR automation based on workflows

2 participants