Skip to content

feat(scan): integrate third party scan #939

feat(scan): integrate third party scan

feat(scan): integrate third party scan #939

name: Reset 'safe for build' label
on:
pull_request_target: # zizmor: ignore[dangerous-triggers] no checkout, no code execution — only removes a label
types: [synchronize]
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
remove-safe-for-build-label:
name: remove-safe-for-build-label
if: contains(github.event.pull_request.labels.*.name, 'safe for build')
runs-on: ubuntu-latest
permissions:
pull-requests: write # remove label from PR
steps:
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
with:
script: |
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
name: 'safe for build'
});