Skip to content

Commit

Permalink
fix(continuous-integration): set build input as optionnal
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <[email protected]>
  • Loading branch information
neilime committed Mar 26, 2024
1 parent 5ee3554 commit bb6ff65
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
48 changes: 24 additions & 24 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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**
<!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 --->
<!--- Before opening up a new bug report, please make sure to check for similar existing issues -->

**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]
<!--- Please specify versions of node and package manager (npm, yarn, pnpm and etc)-->

**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.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
uses: ./self-workflow/actions/setup-node

- id: build-variables
if: inputs.build != ''
uses: actions/github-script@v7
with:
script: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bb6ff65

Please sign in to comment.