Skip to content

Use cmake only for sonarcloud #5153

Use cmake only for sonarcloud

Use cmake only for sonarcloud #5153

name: Reapply CI-trusted-author label
on:
pull_request_target:
types: [opened, reopened, synchronize]
jobs:
reapply_label:
name: Reapply label
if: ${{ contains(github.event.*.labels.*.name, 'CI-trusted-author') }}
runs-on: ubuntu-latest
steps:
- name: Remove CI-trusted-author label
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label "CI-trusted-author"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
- name: Add CI-trusted-author label
run: gh pr edit ${{ github.event.pull_request.number }} --add-label "CI-trusted-author"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}