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

Resolves sigstore/community#121 #2263

Merged
merged 2 commits into from Sep 19, 2022
Merged

Resolves sigstore/community#121 #2263

merged 2 commits into from Sep 19, 2022

Conversation

n3k0m4
Copy link
Contributor

@n3k0m4 n3k0m4 commented Sep 16, 2022

Summary

This PR solves the Sigstore community issue #121 for Cosign.

To summarize the issue, all the Sigstore projects were running multiple workflows (unit & e2e tests, builds, ...) even when the changes were unimportant (.txt, .md, ...). This causes unnecessary use of resources.

The solution implemented in this PR is adding paths matching for the files that can trigger the execution of workflows.

Testing:

There are potentially two ways to test these changes:
Forking the repository and executing the steps below, or making a new branch in the current repo and adding the branch name in branches: inside the modified workflows, then executing the steps below.

  1. Pull the changes
  2. Modify .md, .txt or other file in paths like images or doc
  3. Commit the changes

Results: No actions should run.

Release Note

Documentation

* add paths to all needed workflows

* fixing action versions

* remove whitespace

Signed-off-by: n3k0m4 <senpaineko1@gmail.com>
Signed-off-by: n3k0m4 <senpaineko1@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2022

Codecov Report

Merging #2263 (80f858f) into main (8483d6c) will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2263      +/-   ##
==========================================
+ Coverage   28.40%   28.56%   +0.15%     
==========================================
  Files         131      131              
  Lines        7832     7855      +23     
==========================================
+ Hits         2225     2244      +19     
+ Misses       5309     5305       -4     
- Partials      298      306       +8     
Impacted Files Coverage Δ
cmd/cosign/cli/verify/verify_blob.go 45.26% <0.00%> (+0.35%) ⬆️
cmd/cosign/cli/verify/verify.go 5.97% <0.00%> (+2.61%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dlorenc
Copy link
Member

dlorenc commented Sep 18, 2022

cc @cpanato

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

looks cool! thanks for working on this!

@n3k0m4
Copy link
Contributor Author

n3k0m4 commented Sep 19, 2022

Thanks. Looking forward to contributing more to the code base and Sigstore's projects.

@dlorenc dlorenc merged commit c1322bc into sigstore:main Sep 19, 2022
@github-actions github-actions bot added this to the v1.13.0 milestone Sep 19, 2022
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.

None yet

4 participants