21 lines
730 B
YAML
21 lines
730 B
YAML
# Runs internal automation for pull requests
|
|
|
|
name: "Add labels to github PRs based on context"
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, labeled, unlabeled, ready_for_review, synchronize, reopened]
|
|
|
|
jobs:
|
|
shared-pr-labeller:
|
|
name: "Add Labels to PRs. Safe to Merge on fail"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Run Issue Command from workflow-actions
|
|
uses: nick-fields/private-action-loader@v3
|
|
with:
|
|
pal-repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}"
|
|
pal-repo-name: airbytehq/workflow-actions@production
|
|
# the following input gets passed to the private action
|
|
token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}"
|
|
command: "pull"
|