Skip to content

Run tests only on push and pull request to main#10

Merged
askorupka merged 3 commits into
mainfrom
20260507_lab
May 7, 2026
Merged

Run tests only on push and pull request to main#10
askorupka merged 3 commits into
mainfrom
20260507_lab

Conversation

@askorupka
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Contributor

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.

Pull request overview

Updates the CI workflow triggers so tests/lint run only for pushes to main and for pull requests targeting main, reducing CI runs on non-main branch pushes.

Changes:

  • Restrict GitHub Actions workflow triggers to push on main and pull_request to main.
  • Adjust Python module formatting to have consistent spacing between top-level functions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
01-ci-lab/app/calculator.py Adds an extra blank line to keep consistent top-level function separation.
.github/workflows/ci.yaml Changes workflow on: triggers to run only for main pushes and PRs targeting main.

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

Comment thread .github/workflows/ci.yaml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@askorupka askorupka merged commit 1e73550 into main May 7, 2026
3 checks passed
@askorupka askorupka deleted the 20260507_lab branch May 7, 2026 17:41
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.

2 participants