Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Update coverage action to trigger on (un)labeled events #48

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

george-cosma
Copy link
Collaborator

@george-cosma george-cosma commented Jul 22, 2024

Pull Request Overview

This pull request fixes an issue in the coverage PR preview workflow. Previously, if the PR was labeled then the preview would only deploy if a commit was made. More so, removing the designated label only disabled new updates, but did not remove the old coverage report.

Testing Strategy

This pull request was tested on george-cosma#6. See the comments.

TODO or Help Wanted

This pull request still has an issue: If the coverage label is applied AND if the user labels/unlabels a PR with any other label, then the workflow will run the coverage check, but will not deploy.

Formatting

  • Ran cargo fmt
  • Ran cargo check
  • Ran cargo build
  • Ran cargo doc
  • Ran nix fmt
  • Ran treefmt

Github Issue

This pull request helps close #45

@george-cosma george-cosma added the workflows Adding or modifying GitHub workflows label Jul 22, 2024
@george-cosma george-cosma force-pushed the actions/fix-on-label branch from fda2ad8 to e3b113c Compare July 22, 2024 08:32
@george-cosma george-cosma marked this pull request as draft July 22, 2024 08:53
@george-cosma george-cosma force-pushed the actions/fix-on-label branch from fa2203d to 78cdbd8 Compare July 22, 2024 11:48
@george-cosma george-cosma marked this pull request as ready for review July 22, 2024 11:49
@george-cosma
Copy link
Collaborator Author

I've fixed the issue highlighted in the TODO section of the PR. Tests are here: george-cosma#7

@wucke13 wucke13 enabled auto-merge July 24, 2024 08:42
@george-cosma george-cosma requested a review from nerodesu017 July 24, 2024 09:24
Copy link
Collaborator

@nerodesu017 nerodesu017 left a comment

Choose a reason for hiding this comment

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

Lgtm

@wucke13 wucke13 added this pull request to the merge queue Jul 24, 2024
Merged via the queue into DLR-FT:main with commit cc40bfc Jul 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-high workflows Adding or modifying GitHub workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: PR Previews have some rough edges
3 participants