diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index 5f281b684..991e18168 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -12,6 +12,9 @@ on: GH_TOKEN_ADMIN: description: Github admin token required: true + GH_USER_ADMIN: + description: Github admin user + required: true SEMGREP_PUBLISH_TOKEN: description: Semgrep token required: true @@ -350,6 +353,8 @@ jobs: uses: ./.github/actions/unit-tests with: python_version: '3.7' + GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }} + GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }} run-unit-tests-3_9: name: Unit tests @@ -371,6 +376,8 @@ jobs: uses: ./.github/actions/unit-tests with: python_version: '3.9' + GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }} + GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }} build: name: Build python 3.7 diff --git a/.github/workflows/reusable-lightweight.yml b/.github/workflows/reusable-lightweight.yml index 537da1083..9f6fc68ab 100644 --- a/.github/workflows/reusable-lightweight.yml +++ b/.github/workflows/reusable-lightweight.yml @@ -165,6 +165,8 @@ jobs: uses: ./.github/actions/unit-tests with: python_version: '3.7' + GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }} + GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }} run-unit-tests-3_9: name: Unit tests 3.9 @@ -186,6 +188,8 @@ jobs: uses: ./.github/actions/unit-tests with: python_version: '3.9' + GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }} + GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }} build: name: Build python-${{ matrix.python-version }}