gajira-todo
所属分类:OA办公系统
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-06-11 09:57:55
上 传 者:
sh-1993
说明: 加吉拉·托多,,
(gajira-todo,,)
文件列表:
.editorconfig (259, 2023-10-26)
.eslintrc.json (60, 2023-10-26)
.husky/ (0, 2023-10-26)
.husky/pre-commit (57, 2023-10-26)
LICENSE (815, 2023-10-26)
action.js (3130, 2023-10-26)
action.yml (526, 2023-10-26)
common/ (0, 2023-10-26)
common/net/ (0, 2023-10-26)
common/net/GitHub.js (1649, 2023-10-26)
common/net/Jira.js (2594, 2023-10-26)
common/net/client.js (562, 2023-10-26)
dist/ (0, 2023-10-26)
dist/index.js (1288560, 2023-10-26)
dist/index.js.map (1223833, 2023-10-26)
dist/sourcemap-register.js (41034, 2023-10-26)
index.js (1145, 2023-10-26)
jest.config.js (299, 2023-10-26)
package.json (795, 2023-10-26)
yarn.lock (142473, 2023-10-26)
---------
This repository isn’t maintained anymore.
---------
# Jira TODO
Create issue for TODO comments
> ##### Only supports Jira Cloud. Does not support Jira Server (hosted)
## Usage
> ##### Note: this action requires [Jira Login Action](https://github.com/marketplace/actions/jira-login)
Create Jira issue from TODO comments in pushed code.
Single-line comments in these formats:
```go
// TODO: refactor this callback mess
```
```ruby
# TODO: rewrite api client
```
Example workflow:
```yaml
- name: Create TODO
uses: atlassian/gajira-todo@v3
with:
project: MC
issuetype: Task
description: Created automatically via GitHub Actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
```
----
## Action Spec:
### Environment variables
- `GITHUB_TOKEN` - GitHub secret [token](https://developer.github.com/actions/creating-workflows/storing-secrets/#github-token-secret) is used to retrieve diffs
### Inputs
- `project` - Key of the project
- `issuetype` - Type of the issue to be created. Example: 'Task'
- `description` - Issue description
### Outputs
- `issues`: Well-formed JSON array containing keys of all newly created issues
近期下载者:
相关文件:
收藏者: