From 0ec1d29e1638be0f211b04bb7045fddd1e2a9ad4 Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Thu, 10 Aug 2023 10:33:00 +0200 Subject: [PATCH] chore(ci): add token to upload and trigger workflow --- .github/workflows/beta-release.yml | 2 ++ .github/workflows/stable-release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index 61219b4..062be1a 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -33,5 +33,7 @@ jobs: - name: Trigger workflow + env: + GH_TOKEN: ${{ secrets.TRIGGER_WORKFLOW_TOKEN }} run: | gh workflow run release.yml -R jolicode/redirection.io -f environment=production -f package=module-apache2 -f channel=beta -f version=$VERSION -f version_directory=$MAJOR_VERSION -f build_iteration=1 -f module_image=$DISTRIBUTION diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 842c247..ea929cc 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -33,5 +33,7 @@ jobs: - name: Trigger workflow + env: + GH_TOKEN: ${{ secrets.TRIGGER_WORKFLOW_TOKEN }} run: | gh workflow run release.yml -R jolicode/redirection.io -f environment=production -f package=module-apache2 -f channel=stable -f version=$VERSION -f version_directory=$MAJOR_VERSION -f build_iteration=1 -f module_image=$DISTRIBUTION