Skip to content

Update dependency org.jenkins-ci.plugins:jackson2-api to v2.21.1-428.vf8dd988fa_d8d #881

Update dependency org.jenkins-ci.plugins:jackson2-api to v2.21.1-428.vf8dd988fa_d8d

Update dependency org.jenkins-ci.plugins:jackson2-api to v2.21.1-428.vf8dd988fa_d8d #881

Workflow file for this run

name: Label PRs targeting LTS branches
on: [pull_request_target]
permissions:
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Check if PR targets LTS branch
if: startsWith(github.event.pull_request.base.ref, 'stable-')
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.addLabels({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
issue_number: context.payload.pull_request.number,
labels: ['into-lts']
});