From bb6ff65b7a41579e2fdf2d714ba6ed33202afe6e Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Tue, 26 Mar 2024 12:25:56 +0100 Subject: [PATCH] fix(continuous-integration): set build input as optionnal Signed-off-by: Emilien Escalle --- .github/ISSUE_TEMPLATE/bug_report.md | 48 ++++++++++---------- .github/workflows/continuous-integration.yml | 3 +- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a789162..2c6cc29 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,40 +1,40 @@ --- name: Bug report -about: Create a report to help us improve +about: Create a bug report title: "" -labels: "" +labels: bug, needs triage assignees: "" --- -**Describe the bug** + + + +**Description:** A clear and concise description of what the bug is. -**To Reproduce** -Steps to reproduce the behavior: +**Action version:** +Specify the action version + +**Platform:** -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error +- [ ] Ubuntu +- [ ] macOS +- [ ] Windows -**Expected behavior** -A clear and concise description of what you expected to happen. +**Runner type:** -**Screenshots** -If applicable, add screenshots to help explain your problem. +- [ ] Hosted +- [ ] Self-hosted -**Desktop (please complete the following information):** +**Tools version:** -- OS: [e.g. iOS] -- Browser [e.g. chrome, safari] -- Version [e.g. 22] + -**Mobile phone (please complete the following information):** +**Repro steps:** +A description with steps to reproduce the issue. If you have a public example or repository to share, please provide the link. -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] +**Expected behavior:** +A description of what you expected to happen. -**Additional context** -Add any other context about the problem here. +**Actual behavior:** +A description of what is actually happening. diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 8678fa6..4dc5b52 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -88,6 +88,7 @@ jobs: uses: ./self-workflow/actions/setup-node - id: build-variables + if: inputs.build != '' uses: actions/github-script@v7 with: script: | @@ -171,7 +172,7 @@ jobs: build: name: 🏗️ Build - if: inputs.checks == true && inputs.build != '' + if: inputs.checks == true && needs.setup.outputs.build-commands runs-on: "ubuntu-latest" needs: setup # jscpd:ignore-start