Skip to content

Zizmor rejects update-issue-context.yml's issue_comment trigger on main #3165

Open

Description

@astral-automations-bot

CI fails on push to main at 43e7a4e, attempt 1, in check | zizmor / zizmor on Ubuntu 24.04.5 x86_64 (github-ubuntu-24.04-x86_64-4).

Run: https://github.com/astral-sh/uv-dev/actions/runs/45230063978
Job: https://github.com/astral-sh/uv-dev/actions/runs/45230063978/job/137887243478

Decisive output from Zizmor v1.31.1:
error[dangerous-triggers]: use of fundamentally insecure workflow trigger
--> ./.github/workflows/update-issue-context.yml:6:3
issue_comment is almost always used insecurely
170 findings (169 suppressed): 1 high
Process completed with exit code 14.

Source inspection confirms that update-issue-context.yml directly declares issue_comment: types: [created]. Although its update job is restricted to astral-sh/uv issue comments, CI audits the declaration in this checkout. The action upgrade in astral-sh#23359 includes the newer audit that flags this trigger. The triggering astral-sh#23365 only adds PYTHONSAFEPATH to the audit step. The same finding was already mentioned in validation notes for astral-sh#23281, but neither change remedies it. This is a reproducible workflow configuration failure, not evidence of an intermittent audit request or a confirmed security incident.

Route the comment automation through .github/automations-dispatch.json, extending dispatcher support separately if necessary, rather than suppressing dangerous-triggers.

The run also independently reproduces #3132: test-integration / deadsnakes python3.9 on ubuntu receives HTTP 503 from ppa.launchpadcontent.net for repository metadata and the python3.9 package, then exits 100 before uv runs. That flake is already tracked. Job: https://github.com/astral-sh/uv-dev/actions/runs/45230063978/job/137889358745

Activity

  1. added
    internal:ci
    on Nov 23, 2026
  2. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45242885020

    This also affects unrelated pull requests: CI attempt 1 for #3163 reproduces the same dangerous-triggers finding, although its diff changes only agents/prompts/pull-request-code-quality-review.md. Job: https://github.com/astral-sh/uv-dev/actions/runs/45242885020/job/137932254851

  3. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45249293123

    CI attempt 1 for #3009 reproduces the same dangerous-triggers finding: https://github.com/astral-sh/uv-dev/actions/runs/45249293123/job/137954767548. Although this PR modifies update-issue-context.yml to store issue artifacts, its issue_comment trigger is unchanged from the base revision.

  4. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45251301852

  5. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45253706184

  6. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45254422997

  7. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45257698656

  8. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45268703439

  9. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45270544057

  10. astral-automations-bot commented on Nov 24, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/45293007696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal:ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions