refactor(l1): simplify L1 subscriber startup #3819
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
| name: Pull request audit | |
| on: | |
| pull_request: | |
| types: [labeled] | |
| pull_request_target: # zizmor: ignore[dangerous-triggers] | |
| types: [opened, reopened, synchronize, labeled, unlabeled] | |
| pull_request_review: | |
| types: [submitted] | |
| merge_group: | |
| issue_comment: | |
| types: [created] | |
| permissions: {} | |
| jobs: | |
| # Label-triggered audit -> read-only shared reusable | |
| audit: | |
| if: >- | |
| github.repository == 'tempoxyz/zones' && | |
| ( | |
| ( | |
| github.event_name == 'pull_request' && | |
| ( | |
| github.event.label.name == 'cyclops' || | |
| github.event.label.name == 'agentic-audit' | |
| ) | |
| ) || | |
| ( | |
| github.event_name == 'pull_request_target' || | |
| github.event_name == 'pull_request_review' || | |
| github.event_name == 'merge_group' | |
| ) | |
| ) | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| statuses: write | |
| uses: tempoxyz/gh-actions/.github/workflows/pr-audit.yml@7216a21c7e97d3f0c4d091ac5b894a407c600b91 | |
| with: | |
| required-labels: | | |
| cyclops | |
| agentic-audit | |
| require-completed-audit: true | |
| secrets: | |
| EVENTS_KEY: ${{ secrets.EVENTS_KEY }} | |
| EVENTS_CERT: ${{ secrets.EVENTS_CERT }} | |
| EVENTS_ARGS: ${{ secrets.EVENTS_ARGS }} | |
| # Comment-command audit -> caller-owned privileged job using the composite | |
| audit-comment: | |
| if: >- | |
| github.repository == 'tempoxyz/zones' && | |
| github.event_name == 'issue_comment' && | |
| github.event.issue.pull_request && | |
| ( | |
| startsWith(github.event.comment.body, 'cyclops audit') || | |
| startsWith(github.event.comment.body, '@decofe cyclops audit') || | |
| startsWith(github.event.comment.body, 'derek audit') | |
| ) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: tempoxyz/gh-actions/actions/pr-audit-comment@7216a21c7e97d3f0c4d091ac5b894a407c600b91 | |
| with: | |
| command-regex: '^(?:@decofe\s+)?(?:cyclops\s+audit|derek\s+audit)\b' | |
| permission-check-mode: association | |
| organization: tempoxyz | |
| events-key: ${{ secrets.EVENTS_KEY }} | |
| events-cert: ${{ secrets.EVENTS_CERT }} | |
| events-args: ${{ secrets.EVENTS_ARGS }} | |
| github-token: ${{ github.token }} |