From 5cf91dce77fe855b5ad30036fefa977cb2c854ff Mon Sep 17 00:00:00 2001 From: Kevin Le Seigle Date: Fri, 27 Sep 2024 14:36:39 +0200 Subject: [PATCH] fix: external workflow call --- .github/workflows/build-desktop-external-reusable.yml | 6 ++---- .github/workflows/build-mobile-external-reusable.yml | 6 ++---- .github/workflows/test-desktop-external-reusable.yml | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-desktop-external-reusable.yml b/.github/workflows/build-desktop-external-reusable.yml index 0c6caa22c950..67bc572856df 100644 --- a/.github/workflows/build-desktop-external-reusable.yml +++ b/.github/workflows/build-desktop-external-reusable.yml @@ -2,19 +2,17 @@ name: "@Desktop • Build App (external)" on: workflow_call: - workflow_dispatch: inputs: ref: + type: string description: | If you run this manually, and want to run on a PR, the correct ref should be refs/pull/{PR_NUMBER}/merge to have the "normal" scenario involving checking out a merge commit between your branch and the base branch. If you want to run only on a branch or specific commit, you can use either the sha or the branch name instead (prefer the first verion for PRs). required: true - login: - description: The GitHub username that triggered the workflow - required: false repository: description: The repository to checkout the code from + type: string required: true jobs: diff --git a/.github/workflows/build-mobile-external-reusable.yml b/.github/workflows/build-mobile-external-reusable.yml index 99f2405c1ddd..fd729a3cae3e 100644 --- a/.github/workflows/build-mobile-external-reusable.yml +++ b/.github/workflows/build-mobile-external-reusable.yml @@ -2,19 +2,17 @@ name: "@Mobile • Build App (external)" on: workflow_call: - workflow_dispatch: inputs: ref: + type: string description: | If you run this manually, and want to run on a PR, the correct ref should be refs/pull/{PR_NUMBER}/merge to have the "normal" scenario involving checking out a merge commit between your branch and the base branch. If you want to run only on a branch or specific commit, you can use either the sha or the branch name instead (prefer the first verion for PRs). required: true - login: - description: The GitHub username that triggered the workflow - required: false repository: description: The repository to checkout the code from + type: string required: true permissions: diff --git a/.github/workflows/test-desktop-external-reusable.yml b/.github/workflows/test-desktop-external-reusable.yml index 1da1ef076c72..d39b21a02ecb 100644 --- a/.github/workflows/test-desktop-external-reusable.yml +++ b/.github/workflows/test-desktop-external-reusable.yml @@ -2,19 +2,17 @@ name: "@Desktop • Test App (external)" on: workflow_call: - workflow_dispatch: inputs: ref: + type: string description: | If you run this manually, and want to run on a PR, the correct ref should be refs/pull/{PR_NUMBER}/merge to have the "normal" scenario involving checking out a merge commit between your branch and the base branch. If you want to run only on a branch or specific commit, you can use either the sha or the branch name instead (prefer the first verion for PRs). required: true - login: - description: The GitHub username that triggered the workflow - required: false repository: description: The repository to checkout the code from + type: string required: true permissions: