Skip to content

Commit aeff844

Browse files
committed
Add security pull request from Dependabot
1 parent 0df4bd9 commit aeff844

File tree

7 files changed

+352
-387
lines changed

7 files changed

+352
-387
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ It has some required and some optional settings, which are passed to the action
2828
- `JIRA_USER`: The ID of the Jira user which is associated with the 'JiraApiToken' secret, eg '[email protected]' (**REQUIRED**)
2929
- `JIRA_PROJECT`: The project key for the Jira project where issues should be created, eg `TEST` or `ABC`. (**REQUIRED**)
3030
- `JIRA_ISSUE_TYPE`: Type of issue to create, e.g. `Security`. Defaults to `Bug`. (*Optional*)
31-
- `JIRA_WATCHERS`: Jira users to add as watchers to tickets. Use the [YAML block scalar literal style indicator with stripping chomping indicator](https://yaml-multiline.info/) (pipe and dash: `|-`) to add multiple watchers. (*Optional*)
32-
- `JIRA_RESTRICTED_GROUP`: If set, the action will add a restricted comment to the ticket, viewable by only this Jira group. (*Optional*)
33-
- `JIRA_RESTRICTED_COMMENT`: The comment to post. Use the YAML multiline operator for adding linebreaks to the comment. (*Optional, but required if group is set*)
31+
- `JIRA_WATCHERS`: Jira users to add as watchers to tickets. Separate multiple watchers with comma (no spaces).
3432

3533
Here is an example setup which runs this action every 6 hours.
3634

@@ -54,13 +52,7 @@ jobs:
5452
JIRA_USER: [email protected]
5553
JIRA_PROJECT: ABC
5654
JIRA_ISSUE_TYPE: Security
57-
JIRA_WATCHERS: |-
58-
59-
60-
JIRA_RESTRICTED_GROUP: Developers
61-
JIRA_RESTRICTED_COMMENT: |-
62-
Remember to evaluate severity here and set ticket priority.
63-
Check out the guide [in our wiki|https://foo.atlassian.net/wiki/]!
55+
6456
```
6557
6658

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44
"license": "MIT",
55
"require": {
66
"php": ">=7.2.0",
7-
"lesstif/php-jira-rest-client": "^1",
87
"softonic/graphql-client": "^1.2",
98
"symfony/console": "^4",
10-
"symfony/yaml": "^5.0"
9+
"symfony/yaml": "^5.0",
10+
"reload/jira-security-issue": "dev-master"
1111
},
12+
"repositories": [
13+
{
14+
"type": "vcs",
15+
"url": "https://github.com/reload/jira-security-issue"
16+
}
17+
],
1218
"autoload": {
1319
"psr-4": {
1420
"GitHubSecurityJira\\": "src/"

composer.lock

Lines changed: 94 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)