Comments (2)
I believe the option to specify both required: true
and default:
is because the default value may not exist (if you're using one of the different actions contexts. For example, if you use the following:
inputs:
who-to-greet:
description: '...'
required: true
default: ${{ env.MY_ENV_VAR }}
If MY_ENV_VAR
is not set, then the default value will be an empty string. Hence, setting this as a required input would prevent the action from trying to run without necessary inputs.
from hello-world-javascript-action.
Hello! Closing this out for now, but if you're still running into any kind of issue please reopen and let me know! I will try to respond soon as I can :)
from hello-world-javascript-action.
Related Issues (14)
- New Issue
- New Issue
- New Issue
- New Issue
- node_modules for real? HOT 15
- .
- Rename default branch
- Github Actions uses invalid environment variables. HOT 5
- JavaScript 01
- The `set-output` command is deprecated
- Absolute joke from a security perspective HOT 2
- hello-world-javascript-action
- [Question] How does check-dist handle dependabot PRs? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello-world-javascript-action.