Bump org.jenkins-ci.plugins:credentials from 1271.v54b_1c2c6388a_ to 1293.vff276f713473 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v6 | |
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'] | |
}); |