refactor: use shared upsert-issue action from devantler-tech/actions#13
Merged
botantler[bot] merged 2 commits intomainfrom Apr 12, 2026
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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@mainwith 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. |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the local
.github/actions/manage-report-issue/composite action (added in #12) with the shareddevantler-tech/actions/upsert-issue@mainaction.Depends on: devantler-tech/actions#55
Changes
.github/actions/manage-report-issue/action.ymldevantler-tech/actions/upsert-issue@mainopeninput maps directly to the report'shas-violationsoutput