Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/ci-feedback-events.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
name: CI feedback

on:
workflow_run:
workflows: [CI]
# Trusted publisher reads completed-run metadata only; source-run code and
# artifacts are never executed. Its code is fixed by the reviewed caller/ref.
workflow_run: # zizmor: ignore[dangerous-triggers]
workflows: ["CI", "codeql"]
types: [completed]

permissions:
actions: read
issues: write
permissions: {}

concurrency:
group: ci-feedback-events-${{ github.repository_id }}-${{ github.run_id }}
cancel-in-progress: false

jobs:
feedback:
if: ${{ contains(fromJSON('["failure","timed_out","action_required","stale","startup_failure","cancelled"]'), github.event.workflow_run.conclusion) }}
permissions:
actions: read # Read exact completed run and job metadata.
issues: write # Publish bounded failure evidence in this repository.
uses: ./.github/workflows/ci-feedback.yml
with:
run-id: ${{ format('{0}', github.event.workflow_run.id) }}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ Versioning.

## [Unreleased]

- Include CodeQL in background CI feedback and limit issue-write permission
to the publisher job.

### Added

- Added autonomous vanished-runner recovery with exact GitHub run
Expand Down