Skip to content

fix: remove mid-stream TPOT predictions from predicted-latency producer #5314

fix: remove mid-stream TPOT predictions from predicted-latency producer

fix: remove mid-stream TPOT predictions from predicted-latency producer #5314

name: Check Signed Commits in PR
on:
pull_request_target:
jobs:
check-signed-commits:
name: Check signed commits in PR
# Skip signed-commits enforcement for bot-authored release-notes branches:
# per-PR fragments under release-notes/pr-*, assembly under
# release-notes/assemble-*. The release-notes App can't sign commits;
# fragment content is sourced from already-reviewed PR bodies and
# assembly is a deterministic transform. Pin to the two specific prefixes
# so an unrelated bot pushing to release-notes/<other> doesn't bypass.
if: |
!(
(startsWith(github.head_ref, 'release-notes/pr-') ||
startsWith(github.head_ref, 'release-notes/assemble-')) &&
endsWith(github.event.pull_request.user.login, '[bot]')
)
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Required to post comments on PRs
steps:
- name: Check signed commits in PR
uses: 1Password/check-signed-commits-action@v1 # Use the action
with:
comment: |
🚨 Unsigned commits detected! Please sign your commits.
For instructions on how to set up GPG/SSH signing and verify your commits, please see [GitHub Documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification).