| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
The configured token cannot trigger the intended checks, and unrelated label events can cancel active validation.
4 open issuesAnd 37 more.
What changed in this PRThis experiment aims to run CodeQL Action’s generated PR checks for Dependabot updates when rebuilding produces no changes.
Changes:
| File | Description |
|---|---|
| pr-checks/sync.ts | Generates label-triggered checks and job conditions. |
| .github/workflows/rebuild.yml | Adds the unchanged-rebuild label. |
Review effort: Max
Sorry, something went wrong.
| github.event_name == 'pull_request' && | ||
| steps.push.outputs.changes != 'true' | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| "Please approve running the PR checks." | | ||
| gh pr comment --body-file - --repo github/codeql-action "$PR_NUMBER" | ||
|
|
||
| - name: "Add 'Rebuild: Unchanged' label" |
| - name: "Add 'Rebuild: Unchanged' label" | ||
| if: >- | ||
| github.event_name == 'pull_request' && | ||
| steps.push.outputs.changes != 'true' |
| }, | ||
| pull_request: {}, | ||
| pull_request: { | ||
| types: ["opened", "synchronize", "reopened", "labeled"], |
| Back | FazBrowse Home | New Git URL |
This is an experiment to improve workflow runs for Dependabot PRs in cases where the Rebuild workflow doesn't make any changes. The central idea is that the Rebuild workflow applies a label (Rebuild: Unchanged) to a PR it ran for, but where it made no changes. The label is then used as a trigger for the required workflows.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Environments:
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist