Skip to content
Merged
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
28 changes: 28 additions & 0 deletions .github/workflows/required_status_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# workaround to simplify terraform management of required status checks,
# see https://github.com/orgs/community/discussions/12377
name: "Required status check"
on:
pull_request:

Comment thread
tamirms marked this conversation as resolved.
# Cancel superseded runs on the same ref (e.g. force-pushes to a PR), so a
# new push doesn't leave an old `complete` job polling until it times out.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Least-privilege, read-only token: the action only reads workflow/check
# runs on the PR head to mirror the CI conclusion.
permissions:
contents: read
actions: read
checks: read

jobs:
complete:
runs-on: ubuntu-latest
timeout-minutes: 60
Comment thread
tamirms marked this conversation as resolved.
steps:
- uses: int128/wait-for-workflows-action@8aa9c53102cda84041a879b99a88b2a93721231d # v1.10.0
with:
filter-workflow-names: |
CI
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Loading