Repository navigation
Run integration connectivity check nightly to catch token expiry early (#208) - #211
Merged
AndreasIgel merged 1 commit intoJul 20, 2026
Conversation
java-helpers#208) Co-Authored-By: Andreas Igel <andreas.igel@computacenter.com>
|
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches. Re-running this action after a short time may resolve the issue. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Adds a nightly
scheduletrigger to the existingintegrations-check.ymlso that an expiring/revokedSONAR_TOKENorCODECOV_TOKENsurfaces as a failed scheduled run (with GitHub's normal failure notification to maintainers) before it silently breaks a real CI or release run. Requested in #208.The workflow already runs the SonarCloud and Codecov token/connectivity checks as two independent, parallel jobs on manual
workflow_dispatch. This PR only adds the schedule and makes the job gates schedule-aware:Scheduled runs carry no dispatch
inputs, so without thegithub.event_name == 'schedule'clause both jobs'ifconditions would evaluate false and be skipped — hence the added clause runs all checks on the nightly run. No check logic changed; token values are still never printed and no project/PR code is built.schedule(likeworkflow_dispatch) only executes from the default branch, so this remains maintainer-gated and never runs for fork PRs.Related
Note:
SONAR_TOKENis currently reported invalid by this check — that token still needs to be fixed/rotated in SonarCloud (tracked in #208); once fixed, the nightly run will go green.