Skip to content

Commit

Permalink
Revert "Adds PAT check to shared pr check (#15453)" (#15511)
Browse files Browse the repository at this point in the history
This reverts commit 06a18d4.
  • Loading branch information
supertopher authored Aug 10, 2022
1 parent 853b88a commit 1258ab4
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/shared-pulls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,13 @@ on:
types: [opened, labeled, unlabeled, ready_for_review, synchronize, reopened]

jobs:
find_valid_pat:
name: "Find a PAT with room for actions"
timeout-minutes: 10
runs-on: ubuntu-latest
outputs:
pat: ${{ steps.variables.outputs.pat }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
- name: Check PAT rate limits
id: variables
run: |
./tools/bin/find_non_rate_limited_PAT \
${{ secrets.OCTAVIA_PAT }} \
${{ secrets.AIRBYTEIO_PAT }} \
${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \
${{ secrets.SUPERTOPHER_PAT }} \
${{ secrets.DAVINCHIA_PAT }}
shared-pulls:
name: "Label github issues for tracking"
needs:
- find_valid_pat
runs-on: ubuntu-latest
steps:
- uses: nick-fields/private-action-loader@v3
with:
pal-repo-token: ${{ needs.find_valid_pat.outputs.pat }}
pal-repo-token: "${{ secrets.OCTAVIA_PAT }}"
pal-repo-name: airbytehq/workflow-actions@production
# the following input gets passed to the private action
token: ${{ needs.find_valid_pat.outputs.pat }}
token: "${{ secrets.OCTAVIA_PAT }}"
command: "pull"

0 comments on commit 1258ab4

Please sign in to comment.