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(ci): Fix dependabot code scanning errors #121

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Oct 23, 2024

Motivation and Context

Dependabot pushes a branch to the repo and opens a pull request. The pull request workflow runs properly, but the push workflow fails because dependabot doesn't have access to a read/write GITHUB_TOKEN and doesn't have access to the repo secrets.

Description

The quick fix is telling CI not to run the push event workflow for branches that start with dependabot/.

Dependabot pushes a branch to the repo and opens a pull request. The
pull request workflow runs properly, but the push workflow fails because
dependabot doesn't have access to a read/write GITHUB_TOKEN and doesn't
have access to the repo secrets.

The quick fix is telling CI not to run the push event workflow for
branches that start with `dependabot/`.
@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.18%. Comparing base (3cb6c81) to head (bf73946).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #121   +/-   ##
=======================================
  Coverage   92.18%   92.18%           
=======================================
  Files           1        1           
  Lines          64       64           
=======================================
  Hits           59       59           
  Misses          5        5           

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

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@dpogue dpogue merged commit 3b15497 into apache:master Oct 23, 2024
13 checks passed
@dpogue dpogue deleted the workflow-fix branch October 23, 2024 04:57
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.

3 participants