This plugin creates Python GitHub Actions workflows.
This plugin depends on an environment variable "GITHUB_TOKEN". Set it before using this plugin.
If you don't know how to create this token, check out:
tools:
- name: python-demo-app
# name of the plugin
plugin: githubactions-python
# optional; if specified, dtm will make sure the dependency is applied first before handling this tool.
dependsOn: [ "TOOL1_NAME.TOOL1_PLUGIN", "TOOL2_NAME.TOOL2_PLUGIN" ]
# options for the plugin
options:
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below.
owner: YOUR_GITHUB_USERNAME
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo.
repo: YOURE_REPO_NAME
# programming language specific settings
language:
name: python
# version of the language
version: "3.8"
# main branch of the repo (to which branch the plugin will submit the workflows)
branch: mainAll parameters are mandatory.