chore: Move TestingEventBuilder to consensus model #60954
Workflow file for this run
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
# SPDX-License-Identifier: Apache-2.0 | |
name: "PR Formatting" | |
on: | |
pull_request_target: | |
types: | |
- assigned | |
- unassigned | |
- labeled | |
- unlabeled | |
- opened | |
- reopened | |
- edited | |
- converted_to_draft | |
- ready_for_review | |
- review_requested | |
- review_request_removed | |
- locked | |
- unlocked | |
- synchronize | |
defaults: | |
run: | |
shell: bash | |
permissions: | |
statuses: write | |
jobs: | |
title-check: | |
name: Title Check | |
runs-on: hiero-network-node-linux-medium | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 | |
with: | |
egress-policy: audit | |
- name: Check PR Title | |
uses: step-security/conventional-pr-title-action@8a8989588c2547f23167c4c42f0fb2356479e81b # v3.2.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
milestone-check: | |
name: Milestone Check | |
runs-on: hiero-network-node-linux-medium | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 | |
with: | |
egress-policy: audit | |
- name: Check Milestone | |
if: ${{ github.event.pull_request.milestone == null }} | |
run: | | |
echo "Milestone is not set. Failing the workflow." | |
exit 1 | |
assignee-check: | |
name: Assignee Check | |
runs-on: hiero-network-node-linux-medium | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 | |
with: | |
egress-policy: audit | |
- name: Check Assignee | |
if: ${{ github.event.pull_request.assignees == null || github.event.pull_request.assignees[0] == null }} | |
run: | | |
echo "Assignee is not set. Failing the workflow." | |
exit 1 |