From 8ee0f87da50b5fc82e726d10c3dc06d3a893d7a7 Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Tue, 8 Aug 2023 15:11:23 +0200 Subject: [PATCH] ci: Change "Release please" to be manually triggered (#4453) * Change how Release please is triggered * Revert "Change how Release please is triggered" This reverts commit 6be9ff4ee29f130090e1227f1248556b5bed3956. * Apply the changes to the internal action instead --- .github/workflows/internal-release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/internal-release.yml b/.github/workflows/internal-release.yml index c2af4b9ac7b..e4aedec7471 100644 --- a/.github/workflows/internal-release.yml +++ b/.github/workflows/internal-release.yml @@ -1,9 +1,7 @@ name: Create internal releases on: - push: - branches: - - develop - - deploy_from_pr/* + workflow_dispatch: + env: RUBY_VERSION: 3.2.0 @@ -12,7 +10,7 @@ jobs: concurrency: group: release cancel-in-progress: true - if: "!contains(github.event.commits[0].message, 'chore(develop): release') && github.repository_owner == 'openfoodfacts'" + if: github.triggering_actor == 'teolemon' || github.triggering_actor == 'stephanegigandet' || github.triggering_actor == 'g123k' || github.triggering_actor == 'monsieurtanuki' || github.triggering_actor == 'M123-dev' runs-on: ubuntu-latest outputs: VERSION_NAME: ${{ steps.set_output.outputs.VERSION_NAME }}