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

🌱 Limit integration tests to ones that work with the GITHUB_TOKEN. #2672

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

spencerschrock
Copy link
Contributor

What kind of change does this PR introduce?

Integration test change

What is the current behavior?

Some of the integration tests need access to GitHub secrets, specifically the branch protection e2e tests.

What is the new behavior (if this is a feature change)?**

The integration test trigger was changed to pull_request which does not have access to GitHub secrets.
The status message when integration tests finish was removed to reduce the permissions of the GITHUB_TOKEN

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Special notes for your reviewer

This was tested in another repo to verify the GITHUB_TOKEN was sufficient.
https://github.com/spencerschrock/scorecard-test/actions/runs/4188418627/jobs/7259527613

Does this PR introduce a user-facing change?

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

Signed-off-by: Spencer Schrock <sschrock@google.com>
@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Merging #2672 (47d70a6) into main (7876a13) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2672   +/-   ##
=======================================
  Coverage   41.27%   41.27%           
=======================================
  Files         123      123           
  Lines       10043    10043           
=======================================
  Hits         4145     4145           
  Misses       5602     5602           
  Partials      296      296           

@spencerschrock spencerschrock temporarily deployed to integration-test February 15, 2023 22:45 — with GitHub Actions Inactive
@spencerschrock spencerschrock temporarily deployed to integration-test February 15, 2023 22:54 — with GitHub Actions Inactive
@github-actions
Copy link

Integration tests success for
[47d70a6]
(https://github.com/ossf/scorecard/actions/runs/4188529709)

@spencerschrock spencerschrock merged commit c9f582b into ossf:main Feb 15, 2023
@spencerschrock spencerschrock deleted the cicd-updates branch February 15, 2023 23:09
rdower pushed a commit to rdower/scorecard that referenced this pull request Feb 16, 2023
…f#2672)

Signed-off-by: Spencer Schrock <sschrock@google.com>
Signed-off-by: Robert Dower <robert.dower@intel.com>
Shofiya2003 pushed a commit to Shofiya2003/scorecard that referenced this pull request Mar 10, 2023
…f#2672)

Signed-off-by: Spencer Schrock <sschrock@google.com>
Signed-off-by: Shofiya2003 <shofiyabootwala@gmail.com>
Shofiya2003 pushed a commit to Shofiya2003/scorecard that referenced this pull request Mar 10, 2023
…f#2672)

Signed-off-by: Spencer Schrock <sschrock@google.com>
Signed-off-by: Shofiya2003 <shofiyabootwala@gmail.com>
raghavkaul pushed a commit to raghavkaul/scorecard that referenced this pull request Apr 4, 2023
…f#2672)

Signed-off-by: Spencer Schrock <sschrock@google.com>
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

3 participants