Skip to content

manifest: sdk-zephyr: [fromlist] poweroff: nordic: streamline RAM retention strategy #31318

manifest: sdk-zephyr: [fromlist] poweroff: nordic: streamline RAM retention strategy

manifest: sdk-zephyr: [fromlist] poweroff: nordic: streamline RAM retention strategy #31318

name: Reapply CI-trusted-author label
# 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]
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.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 }}