diff --git a/.github/workflows/_build-aleph-node.yml b/.github/workflows/_build-aleph-node.yml index 3ed9f46a7b..6b541c5f97 100644 --- a/.github/workflows/_build-aleph-node.yml +++ b/.github/workflows/_build-aleph-node.yml @@ -25,6 +25,11 @@ on: type: string required: false default: '' + token: + description: 'Personal access token (PAT) used to fetch the repository.' + type: string + required: false + default: '' outputs: artifact-name-binary: description: 'Name of artifact aleph-node binary' @@ -51,6 +56,7 @@ jobs: ref: ${{ inputs.ref }} repository: ${{ inputs.repository }} fetch-depth: 0 + token: ${{ inputs.token }} - name: Call action get-ref-properties id: get-ref-properties diff --git a/.github/workflows/nightly-normal-session-e2e-tests.yml b/.github/workflows/nightly-normal-session-e2e-tests.yml index c8300f33f3..d27a6475d6 100644 --- a/.github/workflows/nightly-normal-session-e2e-tests.yml +++ b/.github/workflows/nightly-normal-session-e2e-tests.yml @@ -49,6 +49,7 @@ jobs: repository: Cardinal-Cryptography/aleph-node-flooder production: false additional-flags: "--features network_flooding_test" + token: ${{ secrets.CI_GH_TOKEN }} build-chain-bootstrapper-production: name: Build chain-bootstrapper @@ -327,6 +328,7 @@ jobs: --testcase test_major_sync run-network-flooding-test: + secrets: inherit needs: - build-production-aleph-node - build-aleph-node-with-network-flooding-test