Skip to content

[Attack Discovery] Attack Discovery 2.0: Workflows Integration 2 - Add discoveries plugin with workflow step registration #66

[Attack Discovery] Attack Discovery 2.0: Workflows Integration 2 - Add discoveries plugin with workflow step registration

[Attack Discovery] Attack Discovery 2.0: Workflows Integration 2 - Add discoveries plugin with workflow step registration #66

name: bundle-size-limits-comment
on:
pull_request_target:
types:
- opened
- synchronize
paths:
- 'packages/kbn-optimizer/limits.yml'
jobs:
comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
sparse-checkout: .github
sparse-checkout-cone-mode: true
fetch-depth: 1
- name: Comment on large bundle size increases
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const run = require('./.github/scripts/bundle_size_limits_comment');
await run({ github, context });