Skip to content

Commit afe1d33

Browse files
committed
Re add posibilitty to pass an alternative github token to the workflow
1 parent 18897e3 commit afe1d33

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/checks.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Checks
22

3-
on: workflow_call
3+
on:
4+
workflow_call:
5+
secrets:
6+
ALTERNATIVE_GITHUB_TOKEN:
7+
required: false
48

59
jobs:
610

@@ -82,6 +86,8 @@ jobs:
8286
name: Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
8387
needs: [build-documentation-job, lint-job, type-check-job]
8488
runs-on: ubuntu-latest
89+
env:
90+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN || secrets.ALTERNATIVE_GITHUB_TOKEN }}
8591
strategy:
8692
fail-fast: false
8793
matrix:

0 commit comments

Comments
 (0)