Skip to content

ci: zizmor workflow#52362

Merged
thaJeztah merged 3 commits into
moby:masterfrom
crazy-max:zizmor
Apr 16, 2026
Merged

ci: zizmor workflow#52362
thaJeztah merged 3 commits into
moby:masterfrom
crazy-max:zizmor

Conversation

@crazy-max

@crazy-max crazy-max commented Apr 15, 2026

Copy link
Copy Markdown
Member

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

name: zizmor

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

😇 should use pr-number now?

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.

no it should be pr number only when workflows have a pull_request_target trigger

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh! For others it won't work to use it? (was wondering if we could/should use a uniform approach)

@crazy-max crazy-max Apr 15, 2026

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.

Yes pull_request_target is a special trigger that always run on default branch

Comment thread .github/workflows/zizmor.yml
name: Get base ref
id: base-ref
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah! I need this on docker/cli as well; I was hoping dependabot would update my comments to use the full version, but it .. doesn't; docker/cli#6923 (comment)

@crazy-max crazy-max Apr 15, 2026

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.

@crazy-max crazy-max force-pushed the zizmor branch 3 times, most recently from adf28d1 to 3c78508 Compare April 15, 2026 12:23
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the zizmor branch 2 times, most recently from 9433bef to 5cdd48e Compare April 15, 2026 12:29
@crazy-max crazy-max requested review from thaJeztah and vvoland April 15, 2026 12:30
@crazy-max crazy-max marked this pull request as ready for review April 15, 2026 12:32
Comment on lines -25 to -33
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we keep this one? Saves me a trip to <wherever> because I always forget the columns used 😂

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.

Usually your favorite IDE highlights it

image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Heh, yeah, possibly; then again, I may look at these on GitHub to check what's in them, and not necessarily editing.

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.

Restored

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah added this to the 29.4.1 milestone Apr 16, 2026
@thaJeztah

Copy link
Copy Markdown
Member

Failures are unrelated

@thaJeztah thaJeztah merged commit 2e888cb into moby:master Apr 16, 2026
185 of 187 checks passed
@crazy-max crazy-max deleted the zizmor branch April 16, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants