Skip to content

Only run workflow on push to specific branches#64

Merged
abhro merged 3 commits into
mainfrom
workflow-restrict
Jul 19, 2026
Merged

Only run workflow on push to specific branches#64
abhro merged 3 commits into
mainfrom
workflow-restrict

Conversation

@abhro

@abhro abhro commented Jul 19, 2026

Copy link
Copy Markdown
Member

Restrict workflows to run only on push to main, because pull_request already takes care of PRs and we end up with duplicate runs (e.g., https://github.com/JuliaAstro/ASDF.jl/actions/runs/29667197889 and https://github.com/JuliaAstro/ASDF.jl/actions/runs/29667230580).

Side note: is the 'release-' specifier still needed? I copied it over from Format.yml, but we don't seem to have any branches under that name. I'm guessing it was for v2 release, but it doesn't seem to be a permanent fixture of the repo.

@abhro
abhro requested a review from icweaver July 19, 2026 00:46
@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c66580b) to head (578d65c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          583       583           
=========================================
  Hits           583       583           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@icweaver icweaver left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! Yep, release- should be deleted. Please feel free to drop it and merge whenever

@abhro
abhro merged commit 8193fd0 into main Jul 19, 2026
11 checks passed
@abhro
abhro deleted the workflow-restrict branch July 19, 2026 01:03
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