Skip to content

Commit baa4c3c

Browse files
committed
fix: skip login checks without token
1 parent a1f2dcc commit baa4c3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-setup-action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ jobs:
127127
- uses: actions/checkout@v6
128128

129129
- name: Install Unikraft CLI (login)
130-
if: ${{ (github.event_name == 'push' || !github.event.pull_request.head.repo.fork) && secrets.UKC_TOKEN != '' }}
130+
if: ${{ secrets.UKC_TOKEN != '' }}
131131
uses: ./
132132
with:
133133
version: dev
134134
token: ${{ secrets.UKC_TOKEN }}
135135
- name: Verify login with metro list
136-
if: ${{ (github.event_name == 'push' || !github.event.pull_request.head.repo.fork) && secrets.UKC_TOKEN != '' }}
136+
if: ${{ secrets.UKC_TOKEN != '' }}
137137
shell: bash
138138
run: |
139139
set -euo pipefail

0 commit comments

Comments
 (0)