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

[codeql] Collect statistics weekly #193308

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Sep 18, 2024

Moves stats collection from after the analyze scan to a weekly cron.

Moves stats collection from after the analyze scan to a weekly cron.
@jbudz
Copy link
Member Author

jbudz commented Sep 18, 2024

buildkite test this

@jbudz jbudz marked this pull request as ready for review September 18, 2024 14:09
@jbudz jbudz requested review from a team as code owners September 18, 2024 14:09
Copy link
Contributor

@elena-shostak elena-shostak left a comment

Choose a reason for hiding this comment

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

Thanks!

@jbudz jbudz added the release_note:skip Skip the PR/issue when compiling release notes label Sep 18, 2024
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz added backport:skip This commit does not require backporting and removed backport:skip This commit does not require backporting labels Sep 18, 2024
stats:
name: CodeQL statistics
runs-on: ubuntu-latest
if: github.repository == 'elastic/kibana' # Hack: Do not run on forks
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want to be explicit, this worked for stopping the LaunchDarkly action from running on forks.

Suggested change
if: github.repository == 'elastic/kibana' # Hack: Do not run on forks
if: github.event.repository.fork == false

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm going to hold off for the moment, this is working and I expect it won't cover the "not fork but clone and pushed" edge case. Not that I expect that to be common, will circle back of there's issues.

@jbudz jbudz merged commit af0582c into elastic:main Sep 19, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants