From 00f2a7accda51d2aa05afcfb7170bb3380fa7fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Lachowski?= Date: Fri, 6 Dec 2024 19:48:16 +0100 Subject: [PATCH] added repo token for build-aleph-node action --- .github/workflows/_build-aleph-node.yml | 6 ++++++ .github/workflows/nightly-normal-session-e2e-tests.yml | 2 ++ 2 files changed, 8 insertions(+) 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..def17542fe 100644 --- a/.github/workflows/nightly-normal-session-e2e-tests.yml +++ b/.github/workflows/nightly-normal-session-e2e-tests.yml @@ -44,11 +44,13 @@ jobs: needs: [check-vars-and-secrets] name: Build aleph-node with flooding routines for both sync-network and alephbft-network uses: ./.github/workflows/_build-aleph-node.yml + secrets: inherit with: ref: main 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