Skip to content

Add GitHub Actions CI workflows#1

Merged
d3ej merged 2 commits into
masterfrom
copilot/add-git-workflows
Mar 18, 2026
Merged

Add GitHub Actions CI workflows#1
d3ej merged 2 commits into
masterfrom
copilot/add-git-workflows

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

No automated checks existed for the repo. Adds CI workflows to catch lint errors and test regressions on every push/PR.

Workflows

  • .github/workflows/ci.yml — Three parallel jobs on push/PR to main/master:
    • flake8 on tests/
    • yamllint on ansible/ and containerlab/
    • pytest --collect-only (syntax/import validation without requiring live devices)
  • .github/workflows/ansible-lint.yml — Runs ansible-lint on playbooks, path-filtered to ansible/** changes only

Supporting changes

  • .yamllint.yml — Project-level yamllint config (150-char line limit to accommodate sha512 hashes, truthy values, document-start as warning)
  • Fixed pre-existing YAML issues (ansible/deploy.yml, ansible/build.yml, containerlab/clab-topology.yml) and removed unused import time in tests/test_fabric.py so CI passes green on first run
  • All jobs scoped to permissions: contents: read
Original prompt

Let's work on adding git workflows


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


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

@d3ej d3ej requested review from Copilot and d3ej March 18, 2026 04:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


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

Co-authored-by: d3ej <6217461+d3ej@users.noreply.github.com>
Copilot AI changed the title [WIP] Add git workflows for automation Add GitHub Actions CI workflows Mar 18, 2026
Copilot finished work on behalf of d3ej March 18, 2026 04:31
@d3ej d3ej closed this Mar 18, 2026
@d3ej d3ej reopened this Mar 18, 2026
@d3ej d3ej marked this pull request as ready for review March 18, 2026 04:36
@d3ej d3ej merged commit 1bc95a6 into master Mar 18, 2026
8 checks passed
@d3ej d3ej deleted the copilot/add-git-workflows branch March 18, 2026 04:42
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.

3 participants