Skip to content

refactor: use shared upsert-issue action from devantler-tech/actions#13

Merged
botantler[bot] merged 2 commits intomainfrom
devantler/fix-report-issue-lifecycle
Apr 12, 2026
Merged

refactor: use shared upsert-issue action from devantler-tech/actions#13
botantler[bot] merged 2 commits intomainfrom
devantler/fix-report-issue-lifecycle

Conversation

@devantler
Copy link
Copy Markdown
Contributor

Summary

Replaces the local .github/actions/manage-report-issue/ composite action (added in #12) with the shared devantler-tech/actions/upsert-issue@main action.

Depends on: devantler-tech/actions#55

Changes

  • Removed local .github/actions/manage-report-issue/action.yml
  • Updated all 3 report workflows to use devantler-tech/actions/upsert-issue@main
  • The shared action's open input maps directly to the report's has-violations output

Replace the local composite action with devantler-tech/actions/upsert-issue@main,
a shared org-level action that manages the full issue lifecycle.

The 'open' input maps directly to the report's 'has-violations' output:
 open/reopen the issue with the report body
 close the issue or do nothing

Depends on: devantler-tech/actions#55

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 12, 2026 19:31
@botantler botantler Bot enabled auto-merge (squash) April 12, 2026 19:31
Comment thread .github/workflows/report-repos-with-multi-admin-teams.yml Fixed
Comment thread .github/workflows/report-repos-with-no-admin-team.yml Fixed
Comment thread .github/workflows/report-repos-with-no-team.yml Fixed
Comment thread .github/workflows/report-repos-with-multi-admin-teams.yml Fixed
Comment thread .github/workflows/report-repos-with-no-admin-team.yml Fixed
Comment thread .github/workflows/report-repos-with-no-team.yml Fixed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refactors the report workflows to stop using the repository-local “manage report issue” composite action and instead use the shared devantler-tech/actions/upsert-issue action for creating/updating/reopening/closing report issues based on violations.

Changes:

  • Updated all 3 report workflows to use devantler-tech/actions/upsert-issue@main with the new input mapping (body-file, open, close-comment, github-token).
  • Removed the local composite action .github/actions/manage-report-issue/action.yml.
  • Standardized the “resolved” close comment across all report workflows.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/report-repos-with-no-team.yml Switches issue management step to shared upsert-issue action and maps report outputs to action inputs.
.github/workflows/report-repos-with-no-admin-team.yml Switches issue management step to shared upsert-issue action and maps report outputs to action inputs.
.github/workflows/report-repos-with-multi-admin-teams.yml Switches issue management step to shared upsert-issue action and maps report outputs to action inputs.
.github/actions/manage-report-issue/action.yml Removes the local composite action now replaced by the shared action.

Comment thread .github/workflows/report-repos-with-no-team.yml Outdated
Comment thread .github/workflows/report-repos-with-no-admin-team.yml Outdated
Comment thread .github/workflows/report-repos-with-multi-admin-teams.yml Outdated
Pin devantler-tech/actions/upsert-issue to e3a0bd51 to satisfy
zizmor and CodeQL unpinned action reference checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@botantler botantler Bot merged commit 3f2e9e2 into main Apr 12, 2026
13 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.

3 participants