From 34f9c13f598581739bc51822277c4887dd327929 Mon Sep 17 00:00:00 2001 From: Mirza Karacic Date: Wed, 18 Dec 2024 23:19:58 -0800 Subject: [PATCH] test --- .github/actions/github-release/action.yaml | 5 ++++- .github/workflows/promote.yaml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/github-release/action.yaml b/.github/actions/github-release/action.yaml index 1fe1080f..bcab75c1 100644 --- a/.github/actions/github-release/action.yaml +++ b/.github/actions/github-release/action.yaml @@ -5,6 +5,9 @@ inputs: artifact-version: description: "" required: true + github-token: + description: + required: true runs: using: composite @@ -38,7 +41,7 @@ runs: - name: Create GitHub Release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ inputs.github-token }} with: tag_name: ${{ inputs.artifact-version }} release_name: ${{ inputs.artifact-version }} diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 7d7fa517..022a0feb 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -15,6 +15,8 @@ on: secrets: CLIENT_BOT_PAT: required: true + GITHUB_TOKEN: + required: true jobs: validate-build: @@ -87,3 +89,4 @@ jobs: uses: ./.github/actions/github-release with: artifact-version: ${{ steps.get-artifact-version.outputs.artifact-version }} + github-token: ${{ secrets.GITHUB_TOKEN }}