1
0
mirror of synced 2026-01-07 18:06:03 -05:00

ci: revert auto-label actions to use PAT (#66163)

This commit is contained in:
Aaron ("AJ") Steers
2025-09-10 10:14:13 -07:00
committed by GitHub
parent 8e17db88ef
commit 68f36d6392
2 changed files with 12 additions and 22 deletions

View File

@@ -8,20 +8,16 @@ jobs:
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 }}
# TODO: Replace PAT with a GitHub App token.
# The "private-action-loader" action does not seem to be compatible with it,
# so we should consider moving off of this specialized action and onto a normal
# action step.
- 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-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}"
pal-repo-name: airbytehq/workflow-actions@production
# the following input gets passed to the private
token: "${{ steps.get-app-token.outputs.token }}"
token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}"
# ref: https://github.com/airbytehq/workflow-actions/blob/main/src/bin_issue.ts
command: "issue"