Skip to content

Commit 03c7657

Browse files
authored
Try to simplify CI (#40)
Copies seek-oss/skuba#1477.
1 parent a6c67af commit 03c7657

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,10 @@ jobs:
2222
name: Lint & Test
2323
runs-on: ubuntu-latest
2424
steps:
25-
- if: >-
26-
github.actor != 'dependabot[bot]' && (
27-
github.event_name != 'pull_request' ||
28-
github.event.pull_request.head.repo.full_name == github.repository
29-
)
30-
name: Check out repo
25+
- name: Check out repo
3126
uses: actions/checkout@v4
3227
with:
33-
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
34-
35-
- if: >-
36-
github.actor == 'dependabot[bot]' || (
37-
github.event_name == 'pull_request' &&
38-
github.event.pull_request.head.repo.full_name != github.repository
39-
)
40-
name: Check out repo
41-
uses: actions/checkout@v4
42-
# We don't share secrets with Dependabot nor forks.
28+
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN || github.token }}
4329

4430
- name: Set up Node.js
4531
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)