You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you have created the webhook then please encrypt your secret by running curl -d 'TOKEN=your-secret' https://cmssdt.cern.ch/SDT/cgi-bin/encrypt_github_token and add GITHUB_WEBHOOK_TOKEN=encrypted-token in the repos/<user>/<repo>/repo_config.py file.
Pull request Testing:
For user/cmssw and user/cmsdist repositories , bot can run standard PR tests.
If you do not want to run standard cms PR tests then set CMS_STANDARD_TESTS=False in your repo_config.py file.
For user/non-cmssw repository, you need to provide repos/<user>/<repo>/run-pr-tests script which bot can run.
bot will clone your repository in $WORKSPACE/userrepo and will merge your pull request on top of your default branch
A file $WORKSPACE/changed-files.txt will contain the list of changed file in the Pull Request
If you want to upload job logs (max 1G) then copy them under $WORKSPACE/upload
You can have your repository setup to trigger the tests whenever you push some changes to your repo. In this case, please make sure that github webhook for Pushes is active.