1
0
mirror of synced 2026-01-10 00:03:08 -05:00
Files
airbyte/.github/workflows/label-github-issues-by-context.yml
Aaron ("AJ") Steers 32f0767ced chore: replace maintenance PATs with GitHub App authentication (#65948)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-09-10 16:30:15 +00:00

28 lines
992 B
YAML

name: "Auto-Label Issues"
on:
issues:
types: [opened, labeled, unlabeled]
jobs:
shared-issues:
name: "Add Labels to Issues. Safe to Merge on fail"
runs-on: ubuntu-24.04
steps:
- name: Authenticate as GitHub App
uses: actions/create-github-app-token@v2
id: get-app-token
with:
owner: "airbytehq"
repositories: "airbyte"
app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }}
private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }}
- name: Run Issue Command from workflow-actions
uses: nick-fields/private-action-loader@v3
with:
pal-repo-token: "${{ steps.get-app-token.outputs.token }}"
pal-repo-name: airbytehq/workflow-actions@production
# the following input gets passed to the private
token: "${{ steps.get-app-token.outputs.token }}"
# ref: https://github.com/airbytehq/workflow-actions/blob/main/src/bin_issue.ts
command: "issue"