Skip to content

samples: bluetooth: ble_hrs: fix button config struct out of scope #2610

samples: bluetooth: ble_hrs: fix button config struct out of scope

samples: bluetooth: ble_hrs: fix button config struct out of scope #2610

name: Reapply CI-trusted-author label

Check warning on line 1 in .github/workflows/reapply-ci-trusted-author.yml

View workflow run for this annotation

GitHub Actions / Reapply CI-trusted-author label

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
# We want to use NordicBuilder instead of github-actions[bot] user
# github-actions[bot] is not trusted collaborator and labels added by it does not trigger Jenkins builds
on:
pull_request_target:
types: [opened, reopened, synchronize]
permissions:
contents: read
pull-requests: write
jobs:
reapply_label:
name: Reapply label
if: ${{ contains(github.event.*.labels.*.name, 'CI-trusted-author') }}
runs-on: ubuntu-24.04
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.NCS_JENKINS_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.NCS_JENKINS_TOKEN }}
GH_REPO: ${{ github.repository }}