|
18 | 18 | - name: Check GitHub Issue type |
19 | 19 | if: env.JIRA_CREATE_COMMENT_AUTO == 'true' |
20 | 20 | id: github_issue_type |
21 | | - uses: actions/github-script@v2.0.0 |
| 21 | + uses: actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45 # v2.0.0 |
22 | 22 | with: |
23 | 23 | result-encoding: string |
24 | 24 | script: | |
|
33 | 33 | - name: Check if GitHub Issue has JIRA_ISSUE_LABEL |
34 | 34 | if: env.JIRA_CREATE_COMMENT_AUTO == 'true' |
35 | 35 | id: github_issue_has_jira_issue_label |
36 | | - uses: actions/github-script@v2.0.0 |
| 36 | + uses: actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45 # v2.0.0 |
37 | 37 | env: |
38 | 38 | JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} |
39 | 39 | with: |
|
56 | 56 | - name: Jira Login |
57 | 57 | if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' |
58 | 58 | id: login |
59 | | - uses: atlassian/gajira-login@v2.0.0 |
| 59 | + uses: atlassian/gajira-login@90a599561baaf8c05b080645ed73db7391c246ed # v2.0.0 |
60 | 60 | env: |
61 | 61 | GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} |
62 | 62 | GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} |
|
67 | 67 | - name: Extract Jira number |
68 | 68 | if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' |
69 | 69 | id: extract_jira_number |
70 | | - uses: actions/github-script@v2.0.0 |
| 70 | + uses: actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45 # v2.0.0 |
71 | 71 | env: |
72 | 72 | GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} |
73 | 73 | GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} |
|
82 | 82 | - name: Jira Add comment on issue |
83 | 83 | if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' |
84 | 84 | id: add_comment_jira_issue |
85 | | - uses: atlassian/gajira-comment@v2.0.2 |
| 85 | + uses: atlassian/gajira-comment@8ec356b5df49f1325653db7ee2da2b59a1d78203 # v2.0.2 |
86 | 86 | env: |
87 | 87 | GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} |
88 | 88 | GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} |
|
0 commit comments