← Back to issue list

fix(ci): correct conditional for snap publication

View original Github issue

Metadata

Project
rockcraft
Number
#356
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #356 as commit 1b47f125, correcting snap.yaml to use a valid environment context in the conditional controlling Snap publication.

Resolution: closed resolved

Reason: The workflow contained an invalid GitHub Actions expression for checking the Snap store credentials. PR #356 corrected the conditional and merged as commit 1b47f125.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The workflow is not valid. .github/workflows/snap.yaml (Line: 41, Col: 13): Unrecognized named-value: 'SNAPCRAFT_STORE_CREDENTIALS'. Located at position 1 within expression: SNAPCRAFT_STORE_CREDENTIALS != '' - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #356 as commit 1b47f125, correcting snap.yaml to use a valid environment context in the conditional controlling Snap publication.
stealth/space-bunny-alpha — closed resolved Merged PR #356 corrected the invalid snap-publication conditional in snap.yaml, removing the unrecognized SNAPCRAFT_STORE_CREDENTIALS expression.
qwen/qwen3.6-35b-a3b — — Merged a fix correcting an invalid conditional in the GitHub Actions workflow for snap publication. The change resolved an unrecognized SNAPCRAFT_STORE_CREDENTIALS variable reference in snap.yaml. Approved by three reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix correcting an invalid conditional check for the SNAPCRAFT_STORE_CREDENTIALS variable in the GitHub Actions snap workflow, resolving the pipeline validation error.

Update history

No update history recorded yet.

Related work

  • Caused By: canonical/rockcraft#352 (confidence 98%)

    PR #352 introduced Snap publication for pull requests and feature branches; #356 repaired the invalid workflow condition.

Related issues

No related issues found above the similarity threshold.