Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: Use --task syntax instead of deployment_task action inp…
…ut parameter

- Change description of `deployment_task` in `action.yml`
- Modify parsing of task parameter in `src/functions/environment-targets.js`
- Update handling of `deployment_task` in `src/functions/inputs.js`
- Introduce task validation logic in `src/main.js`
  • Loading branch information
xakraz committed Nov 8, 2025
commit 40d297a3cbca7be8d7b028f4aa07065dbd58c5d4
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ inputs:
required: false
default: "60"
deployment_task:
description: 'Task identifier for the deployment (enables concurrent deployments to same environment). When specified, multiple deployments can be active simultaneously for the same environment as long as they have different task values. Example: "frontend", "backend", "api"'
description: 'Controls task-based concurrent deployments to the same environment. Set to "all" to allow any task via --task flag in comments, or provide a comma-separated list of allowed tasks (e.g., "frontend,backend,api"). Tasks are specified in PR comments using --task <name>. Leave empty to disable task support.'
required: false
default: ""
outputs:
Expand Down
127 changes: 104 additions & 23 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading