mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[PR #857] [CLOSED] lint: make shellcheck happier #1650
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1650
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/857
Author: @jsoref
Created: 11/2/2021
Status: ❌ Closed
Base:
master← Head:actionlinter-shellcheck📝 Commits (1)
1c8c7a7lint: make shellcheck happier📊 Changes
1 file changed (+7 additions, -7 deletions)
View changed files
📝
.github/workflows/checks.yml(+7 -7)📄 Description
I'm not a huge fan of linters, but when I tried to run
make, I tripped over a bunch of things. After a bit of thought, I eventually figured out some of them...Sprinkling some quotation marks here seems like a reasonable compromise.
Note: I can't figure out how to make the linter happy about:
for image in ${{ env.CACHED_DOCKER_IMAGES }}-- it is confident that the thing afterinis a single value and not possibly multiple values. I suspect it's possible to trick it by writing that item to a file and then usingcatto retrieve the contents of the file, but that seems quite a bit much.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.