From a84fca16612f642ab7d19162ee492a38958f2828 Mon Sep 17 00:00:00 2001 From: sameh-farouk Date: Tue, 12 Sep 2023 16:17:19 +0300 Subject: [PATCH] ci: switch from auto generated GITHUB_TOKEN to PAT --- .github/workflows/030_create_release.yaml | 2 +- .github/workflows/040_publish_activation_service_image.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/030_create_release.yaml b/.github/workflows/030_create_release.yaml index 03dde7c63..90ce49cd0 100644 --- a/.github/workflows/030_create_release.yaml +++ b/.github/workflows/030_create_release.yaml @@ -91,7 +91,7 @@ jobs: id: create_release uses: softprops/action-gh-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_KEY }} with: tag_name: ${{ github.ref }} name: Release ${{ github.ref_name }} diff --git a/.github/workflows/040_publish_activation_service_image.yml b/.github/workflows/040_publish_activation_service_image.yml index ff9c27b8c..6911d2497 100644 --- a/.github/workflows/040_publish_activation_service_image.yml +++ b/.github/workflows/040_publish_activation_service_image.yml @@ -1,6 +1,7 @@ name: Publish Docker image on: + workflow_dispatch: release: types: [published]