Repository navigation
Fix: sync issue triage labels, skip unchanged labels and add CI - #8
Merged
Merged
Conversation
stonebuzz
requested changes
Nov 17, 2026
| sync-dry-run: | ||
| name: "Sync dry run" | ||
| # Fork pull requests get no secrets | ||
| if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository |
There was a problem hiding this comment.
Could this be an issue with Dependabot being enabled for this repository's GitHub Actions (.github/dependabot.yml)? The new SHA pins in ci.yml would trigger Dependabot PRs. Since these PRs originate from same-repository branches, the workflow runs; however, Dependabot-triggered workflows only have access to Dependabot secrets. As a result, SYNC_APP_PRIVATE_KEY would be empty, causing create-github-app-token to fail and every Dependabot PR to end up with a failing "Sync dry run" check.
if: >-
github.event_name == 'pull_request'
&& github.event.pull_request.head.repo.full_name == github.repository
&& github.actor != 'dependabot[bot]'
stonebuzz
approved these changes
Nov 17, 2026
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.
Checklist before requesting a review
Description
label-commenter-config.ymlacts on theinvalid,supportandfeature suggestionlabels, but nothing created them, so labelling an issue in a repository lacking them was impossible.sync/labels.jsonnow defines them:invalidkeeps the GitHub default,supportandfeature suggestionuse the colors of pluginsGLPI/fields.gh --jqsorts keys and returns a null empty description, so every run updated every label of every repository; both sides are now normalized and unchanged labels are skipped.ci.ymlworkflow lints every workflow (including the synced ones) with actionlint,sync.shwith shellcheck and validatessync/*.json; on pull requests it also runssync.shin dry run with a read-only app token, so the changes it would apply to every synced repository are visible before merge.