Skip to content

GHA/appveyor_docker: silence zizmor with settings allowing concurrency - #2002

Closed
vszakats wants to merge 3 commits into
libssh2:masterfrom
vszakats:zizmor
Closed

vszakats wants to merge 3 commits into
libssh2:masterfrom
vszakats:zizmor

Conversation

@vszakats

@vszakats vszakats commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

Put each invocation in its own concurrency group, via run_id.

Silencing:

help[concurrency-limits]: insufficient job-level concurrency limits
  --> .github/workflows/appveyor_docker.yml:29:1
   |
29 | / 'on':
30 | |   workflow_dispatch:
31 | |     inputs:
32 | |       ssh_host:
...  |
42 | |       ssh_privkey:
43 | |         required: true
   | |______________________^ workflow is missing concurrency setting
...
52 |       name: 'Daemon'
   |       -------------- job affected by missing workflow concurrency
   |
   = note: audit confidence → High
   = help: audit documentation → https://docs.zizmor.sh/audits/#concurrency-limits

Ref: https://github.com/libssh2/libssh2/actions/runs/27208823858/job/80331881952?pr=2001#step:5:18

Ref: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#concurrency
Follow-up to 90497ad
Follow-up to b08cfbc #1292


Would this work to allow parallel runs?

@vszakats
vszakats marked this pull request as draft June 9, 2026 13:32
vszakats referenced this pull request Jun 9, 2026
Removed concurrency settings from AppVeyor Docker workflow.

Since a single PR or commit can require multiple Docker instances, we cannot come up with a functioning identifier.
@vszakats
vszakats requested a review from Copilot June 9, 2026 15:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a zizmor concurrency-limits audit finding in the AppVeyor Docker Bridge GitHub Actions workflow by adding an explicit workflow-level concurrency configuration. The chosen settings are effectively “neutral” (unique group per run, no cancellation), so they should allow parallel workflow runs while satisfying the audit requirement that concurrency be defined.

Changes:

  • Add workflow-level concurrency to .github/workflows/appveyor_docker.yml.
  • Use group: ${{ github.run_id }} with cancel-in-progress: false to avoid serializing runs and avoid cancelling active runs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vszakats vszakats changed the title GHA/appveyor_docker: try silencing zizmor with neutral concurrency settings GHA/appveyor_docker: silence zizmor with settings allowing concurrency Jun 10, 2026
…ttings

```
help[concurrency-limits]: insufficient job-level concurrency limits
  --> .github/workflows/appveyor_docker.yml:29:1
   |
29 | / 'on':
30 | |   workflow_dispatch:
31 | |     inputs:
32 | |       ssh_host:
...  |
42 | |       ssh_privkey:
43 | |         required: true
   | |______________________^ workflow is missing concurrency setting
...
52 |       name: 'Daemon'
   |       -------------- job affected by missing workflow concurrency
   |
   = note: audit confidence → High
   = help: audit documentation → https://docs.zizmor.sh/audits/#concurrency-limits
```
Ref: https://github.com/libssh2/libssh2/actions/runs/27208823858/job/80331881952?pr=2001#step:5:18

Ref: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#concurrency

---

Would this work to allow parallel runs?
@vszakats
vszakats requested a review from mback2k June 10, 2026 13:30
@vszakats
vszakats marked this pull request as ready for review June 10, 2026 13:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/appveyor_docker.yml Outdated
Comment on lines +45 to +47
concurrency:
group: ${{ github.run_id }}
cancel-in-progress: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the goal of this PR.

@vszakats vszakats closed this in 59a554e Jun 10, 2026
@vszakats
vszakats deleted the zizmor branch June 10, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants