Skip to content

Fix Daily Elixir Credo Snippet Audit bootstrap step for Mix compatibility#44762

Merged
pelikhan merged 2 commits into
mainfrom
copilot/debug-daily-elixir-credo-audit-failure
Jul 10, 2026
Merged

Fix Daily Elixir Credo Snippet Audit bootstrap step for Mix compatibility#44762
pelikhan merged 2 commits into
mainfrom
copilot/debug-daily-elixir-credo-audit-failure

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

The Daily Elixir Credo Snippet Audit workflow was failing in its setup phase before any snippet linting could run. The failure came from an unsupported mix new flag in the workflow’s Credo project bootstrap command.

  • Root cause

    • The workflow used mix new ... --force, which is not accepted in the runner’s Mix task invocation for this setup path, causing immediate job exit.
  • Workflow source update

    • Updated the setup step in .github/workflows/daily-elixir-credo-snippet-audit.md to remove the unsupported flag while preserving the existing project initialization flow.
  • Compiled workflow sync

    • Regenerated .github/workflows/daily-elixir-credo-snippet-audit.lock.yml so runtime behavior matches the markdown source.
# before
mix new credo_audit --sup --force

# after
mix new credo_audit --sup

Copilot AI linked an issue Jul 10, 2026 that may be closed by this pull request
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Daily Elixir Credo Snippet Audit workflow failure Fix Daily Elixir Credo Snippet Audit bootstrap step for Mix compatibility Jul 10, 2026
Copilot AI requested a review from pelikhan July 10, 2026 15:31
@pelikhan pelikhan marked this pull request as ready for review July 10, 2026 15:36
Copilot AI review requested due to automatic review settings July 10, 2026 15:36
@pelikhan pelikhan merged commit 00c0b13 into main Jul 10, 2026
@pelikhan pelikhan deleted the copilot/debug-daily-elixir-credo-audit-failure branch July 10, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request fixes a bootstrap failure in the “Daily Elixir Credo Snippet Audit” workflow by removing an unsupported mix new flag, allowing the workflow to successfully create its temporary Credo project before linting snippets.

Changes:

  • Removed the unsupported --force flag from the workflow’s mix new Credo project bootstrap command.
  • Regenerated the compiled workflow lock file so the runtime YAML matches the updated markdown source.
Show a summary per file
File Description
.github/workflows/daily-elixir-credo-snippet-audit.md Removes --force from the Credo bootstrap mix new command in the workflow’s setup step.
.github/workflows/daily-elixir-credo-snippet-audit.lock.yml Updates the compiled workflow to reflect the same bootstrap command change from the markdown source.

Review details

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Low

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.8

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.

[aw] Daily Elixir Credo Snippet Audit failed

3 participants