doc: added top level explanation to AccountAllowanceSerializedExample.cpp #18
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: Bot - On PR Open | |
| # Runs on opened, reopened, and ready_for_review. Single job: run all 4 checks | |
| # (DCO, GPG, merge conflict, issue link), post unified comment, auto-assign, | |
| # and apply status label via bot-on-pr-open.js. | |
| on: | |
| # Uses pull_request_target so fork PRs get write token without repo setting; we | |
| # checkout default branch only so we never run PR branch code. | |
| pull_request_target: | |
| types: | |
| - opened | |
| - reopened | |
| - ready_for_review | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| checks: write | |
| jobs: | |
| on-pr-open: | |
| runs-on: hiero-client-sdk-linux-large | |
| if: github.event.pull_request.draft == false | |
| concurrency: | |
| group: pr-bot-${{ github.event.pull_request.number }} | |
| cancel-in-progress: false | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout Repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Run Bot | |
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 | |
| with: | |
| script: | | |
| const script = require('./.github/scripts/bot-on-pr-open.js'); | |
| await script({ github, context }); |