joel-hanson/Kaggle kernel actions
Github action to push Kaggle kernels from github and also for submitting them to their respective competitions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 31, 2020
- License
- MIT
Pinned Snippet
uses: joel-hanson/kaggle-kernel-actions@5090cddc7a05f3a11f28963ed7bc3c4568d39136 # V1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| kaggle_username | The kaggle username | yes | "" |
| kaggle_key | The kaggle access API token to learn more visit https://github.com/Kaggle/kaggle-api#api-credentials | yes | "" |
| kaggle_make_new_kernel | This should be enabled you are making a new kernel and pushing it to kaggle | yes | false |
| kaggle_metadata_path | The path to the kaggle metadata file further details can be found in the wiki https://github.com/Kaggle/kaggle-api/wiki/Kernel-Metadata | no | "" |
| kernel_id | The 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_no | The kernel's numeric ID. One of id or id_no must be specified. If both are, id_no will be preferred. | no | "" |
| kernel_title | The 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_path | The path to your kernel source code. Required. It should be a relative to your github repository. | yes | "" |
| language | The language your kernel is written in. Valid options are python, r, and rmarkdown. Required. | yes | python |
| kernel_type | The type of kernel. Valid options are script and notebook. Required. | yes | notebook |
| is_private | Whether or not the kernel should be private. If not specified, will be true. | yes | true |
| enable_gpu | Whether or not the kernel should run on a GPU. If not specified, will be false. | no | false |
| enable_internet | Whether or not the kernel should be able to access the internet. If not specified, will be false. | no | false |
| kernel_keywords | The keywords for the kernel | no | "" |
| dataset_sources | A list of dataset sources, specified as "username/dataset-slug" | no | "" |
| competition_sources | A list of competition sources, specified as "competition-slug" | no | "" |
| kernel_sources | A list of kernel sources, specified as "username/kernel-slug" | no | "" |
| competition | The competition that you want to participate in? | yes | "" |
| deploy_kernel | Deploy kernel | no | true |
| submit_to_competition | This is a boolean flag that tell the action to submit the kernel | yes | false |
| submition_message | The competetion submission message? by default it will be the commit sha and the commit message | yes | "" |
| collect_output | To download the out put of the last version | no | false |
| collect_output_as_schedule | To download the out put of the last version | no | false |
Outputs
| name | description |
|---|---|
| output | This will download the output that you create |