New in version 2.2.
- github3.py >= 1.0.0a3
parameter | required | default | choices | comments |
---|---|---|---|---|
action |
yes |
|
Action to perform | |
repo |
yes | Repository name | ||
token |
yes | Github Personal Access Token for authenticating | ||
user |
yes | The GitHub account that owns the repository |
- name: Get latest release of test/test github: token: tokenabc1234567890 user: testuser repo: testrepo action: latest_release
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
latest_release | Version of the latest release | success | string | 1.1.0 |
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.