Skip to content

Commit 0bca64a

Browse files
authored
fix: workflows failing on contributor forks (#563)
1 parent e7f1b75 commit 0bca64a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
container:
1111
image: node:20
1212
credentials:
13-
username: ${{ vars.DOCKER_HUB_USERNAME }}
14-
password: ${{ secrets.DOCKER_HUB_API_KEY }}
13+
username: ${{ vars.DOCKER_HUB_USERNAME || '' }}
14+
password: ${{ secrets.DOCKER_HUB_API_KEY || '' }}
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

.github/workflows/pin-dependencies-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
container:
1111
image: node:20
1212
credentials:
13-
username: ${{ vars.DOCKER_HUB_USERNAME }}
14-
password: ${{ secrets.DOCKER_HUB_API_KEY }}
13+
username: ${{ vars.DOCKER_HUB_USERNAME || '' }}
14+
password: ${{ secrets.DOCKER_HUB_API_KEY || '' }}
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

.github/workflows/pr-title-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
container:
99
image: node:20
1010
credentials:
11-
username: ${{ vars.DOCKER_HUB_USERNAME }}
12-
password: ${{ secrets.DOCKER_HUB_API_KEY }}
11+
username: ${{ vars.DOCKER_HUB_USERNAME || '' }}
12+
password: ${{ secrets.DOCKER_HUB_API_KEY || '' }}
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
container:
1111
image: node:20
1212
credentials:
13-
username: ${{ vars.DOCKER_HUB_USERNAME }}
14-
password: ${{ secrets.DOCKER_HUB_API_KEY }}
13+
username: ${{ vars.DOCKER_HUB_USERNAME || '' }}
14+
password: ${{ secrets.DOCKER_HUB_API_KEY || '' }}
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

0 commit comments

Comments
 (0)