Skip to content

Commit 977e380

Browse files
committed
re-order steps
1 parent 10029ef commit 977e380

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/test-pr-command.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333

34+
- uses: actions/create-github-app-token@v1
35+
id: get-app-token
36+
with:
37+
owner: "airbytehq"
38+
repositories: "PyAirbyte"
39+
app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }}
40+
private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }}
41+
3442
- name: Create URL to the run output
3543
id: vars
3644
run: echo "run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_OUTPUT
@@ -52,14 +60,6 @@ jobs:
5260
with:
5361
id: ${{ inputs.pr }}
5462

55-
- uses: actions/create-github-app-token@v1
56-
id: get-app-token
57-
with:
58-
owner: "airbytehq"
59-
repositories: "PyAirbyte"
60-
app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }}
61-
private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }}
62-
6363
outputs:
6464
source-repo: ${{ fromJSON(steps.pr-info.outputs.json).head.repo.full_name }}
6565
source-branch: ${{ fromJSON(steps.pr-info.outputs.json).head.ref }}

0 commit comments

Comments
 (0)