joel-hanson/Kaggle kernel actions

Github action to push Kaggle kernels from github and also for submitting them to their respective competitions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 31, 2020
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: joel-hanson/kaggle-kernel-actions@5090cddc7a05f3a11f28963ed7bc3c4568d39136 # V1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
kaggle_usernameThe kaggle usernameyes""
kaggle_keyThe kaggle access API token to learn more visit https://github.com/Kaggle/kaggle-api#api-credentialsyes""
kaggle_make_new_kernelThis should be enabled you are making a new kernel and pushing it to kaggleyesfalse
kaggle_metadata_pathThe path to the kaggle metadata file further details can be found in the wiki https://github.com/Kaggle/kaggle-api/wiki/Kernel-Metadatano""
kernel_idThe URL slug of your kernel. One of id or id_no must be specified. If both are, id_no will be preferred. i. Your username slug ii. A unique kernel slug format: <user_name>/<kernel_slug>yes""
kernel_id_noThe kernel's numeric ID. One of id or id_no must be specified. If both are, id_no will be preferred.no""
kernel_titleThe title of the kernel. Required for new kernels - optional for existing ones. Please be aware that kernel titles and slugs are linked to each other. A kernel slug is always the title lowercased with dashes (-) replacing spaces. - If you wish to rename your kernel, you may change the title within the metadata. However, you will need to update the id as well AFTER the rename is complete.yes""
code_file_pathThe path to your kernel source code. Required. It should be a relative to your github repository.yes""
languageThe language your kernel is written in. Valid options are python, r, and rmarkdown. Required.yespython
kernel_typeThe type of kernel. Valid options are script and notebook. Required.yesnotebook
is_privateWhether or not the kernel should be private. If not specified, will be true.yestrue
enable_gpuWhether or not the kernel should run on a GPU. If not specified, will be false.nofalse
enable_internetWhether or not the kernel should be able to access the internet. If not specified, will be false.nofalse
kernel_keywordsThe keywords for the kernelno""
dataset_sourcesA list of dataset sources, specified as "username/dataset-slug"no""
competition_sourcesA list of competition sources, specified as "competition-slug"no""
kernel_sourcesA list of kernel sources, specified as "username/kernel-slug"no""
competitionThe competition that you want to participate in?yes""
deploy_kernelDeploy kernelnotrue
submit_to_competitionThis is a boolean flag that tell the action to submit the kernelyesfalse
submition_messageThe competetion submission message? by default it will be the commit sha and the commit messageyes""
collect_outputTo download the out put of the last versionnofalse
collect_output_as_scheduleTo download the out put of the last versionnofalse
namedescription
outputThis will download the output that you create