Skip to content

Commit 2967dfa

Browse files
authored
Revert "Use a valid pat for slash command dispatch (#16144)" (#16156)
This reverts commit a462891.
1 parent 4892a08 commit 2967dfa

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/slash-commands.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,10 @@ on:
33
issue_comment:
44
types: [created]
55
jobs:
6-
find_valid_pat:
7-
name: "Find a PAT with room for actions"
8-
timeout-minutes: 10
9-
runs-on: ubuntu-latest
10-
outputs:
11-
pat: ${{ steps.variables.outputs.pat }}
12-
steps:
13-
- name: Checkout Airbyte
14-
uses: actions/checkout@v2
15-
- name: Check PAT rate limits
16-
id: variables
17-
run: |
18-
./tools/bin/find_non_rate_limited_PAT \
19-
${{ secrets.AIRBYTEIO_PAT }} \
20-
${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \
21-
${{ secrets.SUPERTOPHER_PAT }} \
22-
${{ secrets.DAVINCHIA_PAT }}
236
slashCommandDispatch:
247
# Only allow slash commands on pull request (not on issues)
258
if: ${{ github.event.issue.pull_request }}
269
runs-on: ubuntu-latest
27-
needs: find_valid_pat
2810
steps:
2911
- name: Get PR repo and ref
3012
id: getref
@@ -36,7 +18,7 @@ jobs:
3618
id: scd
3719
uses: peter-evans/slash-command-dispatch@v2
3820
with:
39-
token: ${{ needs.find_valid_pat.outputs.pat }}
21+
token: ${{ secrets.DAVINCHIA_PAT }}
4022
commands: |
4123
test
4224
test-performance

0 commit comments

Comments
 (0)