Skip to content

Commit 99ce9c4

Browse files
committed
chore: simplify GitHub CLI authentication step in e2e workflow
1 parent e10728e commit 99ce9c4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23-
- name: GitHub CLI - authenticate and show auth status
23+
- name: GitHub CLI - show auth status
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: |
2727
gh auth status
28-
echo "$GITHUB_TOKEN" | gh auth login --with-token
29-
gh auth status
3028
- name: Run e2e tests and publish output to job summary
3129
env:
3230
GITHUB_STEP_SUMMARY: ${{ github.step_summary }}
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3332
run: |
3433
set -o pipefail
3534
chmod +x ./e2e.sh

0 commit comments

Comments
 (0)