obscreen/.github/workflows/pr-trigger-if-admin.yml
2024-08-08 03:40:44 +02:00

23 lines
441 B
YAML
Executable File

name: PR trigger if admin
on:
pull_request:
types: [opened, synchronize]
push:
branches-ignore:
- 'master'
- 'develop'
- 'nightly'
jobs:
add-label:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'jr-k'
steps:
- name: Add build-pr label
uses: actions-ecosystem/action-add-labels@v1
with:
labels: build-pr
github_token: ${{ secrets.GA_TOKEN }}