Skip to content

Release 449: enable root weight setting with a 1/16 concentration cap #9900

Release 449: enable root weight setting with a 1/16 concentration cap

Release 449: enable root weight setting with a 1/16 concentration cap #9900

name: Label Triggers
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
permissions:
issues: write
pull-requests: write
jobs:
trusted-pr:
name: Trusted PR source (non-fork)
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
steps:
- run: echo "Non-fork PR; self-hosted runners may execute checkout."
comment_on_breaking_change:
needs: trusted-pr
runs-on: [self-hosted, fireactions-turbo-8]
steps:
- name: Check if 'breaking change' label is added
if: github.event.label.name == 'breaking-change'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '@RaoFoundation/arbos breaking change detected! Please prepare accordingly!'
})