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

chore: add workflow to check if change file is included in a PR #887

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

philasmar
Copy link
Contributor

Description of changes:
The PR updates the CONTRIBUTION.md file and adds a new Workflow that checks if a PR contains a change file. If a change file is not required, PRs should add the label Release Not Needed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@philasmar philasmar changed the base branch from main to dev December 4, 2024 17:32
@philasmar philasmar added the Release Not Needed Add this label if a PR does not need to be released. label Dec 4, 2024
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.81%. Comparing base (9f812e9) to head (458212b).
Report is 2 commits behind head on dev.

Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #887       +/-   ##
===========================================
+ Coverage   38.75%   62.81%   +24.06%     
===========================================
  Files         282      282               
  Lines       10922    10922               
  Branches     1517     1517               
===========================================
+ Hits         4233     6861     +2628     
+ Misses       6382     3523     -2859     
- Partials      307      538      +231     

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

@philasmar philasmar force-pushed the asmarp/pr-check-for-change-files branch from a70a0d2 to 5be68d8 Compare December 4, 2024 18:28
@philasmar philasmar requested a review from 96malhar December 4, 2024 18:29
@gcbeattyAWS
Copy link
Contributor

how will this work with release prs? #884 these dont have "release not needed" on them, yet change files are not required

@philasmar philasmar force-pushed the asmarp/pr-check-for-change-files branch from bcebbcf to 458212b Compare December 5, 2024 00:48
@philasmar
Copy link
Contributor Author

how will this work with release prs? #884 these dont have "release not needed" on them, yet change files are not required

Good catch @gcbeattyAWS! I updated the condition to skip PRs with the label 'Release PR'

@philasmar philasmar merged commit 1326513 into dev Dec 5, 2024
12 checks passed
@philasmar philasmar deleted the asmarp/pr-check-for-change-files branch December 5, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Not Needed Add this label if a PR does not need to be released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants