Skip to content

Commit e10728e

Browse files
committed
chore: add GitHub CLI authentication steps to e2e workflow
1 parent 97a6d08 commit e10728e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: '0 3 * * *' # Run nightly at 03:00 UTC
66
workflow_dispatch: {}
7+
push:
8+
paths:
9+
- '.github/workflows/e2e.yml'
710

811
permissions:
912
contents: read
@@ -17,6 +20,13 @@ jobs:
1720
steps:
1821
- name: Checkout
1922
uses: actions/checkout@v4
23+
- name: GitHub CLI - authenticate and show auth status
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
run: |
27+
gh auth status
28+
echo "$GITHUB_TOKEN" | gh auth login --with-token
29+
gh auth status
2030
- name: Run e2e tests and publish output to job summary
2131
env:
2232
GITHUB_STEP_SUMMARY: ${{ github.step_summary }}

0 commit comments

Comments
 (0)