-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport of Node16 to Node20 into release/1.1.x (#488)
* build: tsccr action updates * build: update hashicorp github actions --------- Co-authored-by: DanStough <[email protected]>
- Loading branch information
1 parent
ea0dd66
commit 8ac66b8
Showing
7 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
name: Jira Community Issue sync | ||
steps: | ||
- name: Login | ||
uses: atlassian/[email protected].0 | ||
uses: atlassian/gajira-login@45fd029b9f1d6d8926c6f04175aa80c0e42c9026 # v3.0.1 | ||
env: | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | ||
|
@@ -37,7 +37,7 @@ jobs: | |
- name: Create ticket if an issue is filed, or if PR not by a team member is opened | ||
if: github.event.action == 'opened' | ||
uses: tomhjp/[email protected].0 | ||
uses: tomhjp/gh-action-jira-create@3ed1789cad3521292e591a7cfa703215ec1348bf # v0.2.1 | ||
with: | ||
project: NET | ||
issuetype: "${{ steps.set-ticket-type.outputs.TYPE }}" | ||
|
@@ -57,28 +57,28 @@ jobs: | |
- name: Search | ||
if: github.event.action != 'opened' | ||
id: search | ||
uses: tomhjp/[email protected].1 | ||
uses: tomhjp/gh-action-jira-search@04700b457f317c3e341ce90da5a3ff4ce058f2fa # v0.2.2 | ||
with: | ||
# cf[10089] is Issue Link (use JIRA API to retrieve) | ||
jql: 'issuetype = "${{ steps.set-ticket-type.outputs.TYPE }}" and cf[10089] = "${{ github.event.issue.html_url || github.event.pull_request.html_url }}"' | ||
|
||
- name: Sync comment | ||
if: github.event.action == 'created' && steps.search.outputs.issue | ||
uses: tomhjp/gh-action-jira-comment@v0.1.0 | ||
uses: tomhjp/gh-action-jira-comment@6eb6b9ead70221916b6badd118c24535ed220bd9 # v0.2.0 | ||
with: | ||
issue: ${{ steps.search.outputs.issue }} | ||
comment: "${{ github.actor }} ${{ github.event.review.state || 'commented' }}:\n\n${{ github.event.comment.body || github.event.review.body }}\n\n${{ github.event.comment.html_url || github.event.review.html_url }}" | ||
|
||
- name: Close ticket | ||
if: ( github.event.action == 'closed' || github.event.action == 'deleted' ) && steps.search.outputs.issue | ||
uses: atlassian/gajira-transition@v2.0.1 | ||
uses: atlassian/gajira-transition@38fc9cd61b03d6a53dd35fcccda172fe04b36de3 # v3.0.1 | ||
with: | ||
issue: ${{ steps.search.outputs.issue }} | ||
transition: "Closed" | ||
|
||
- name: Reopen ticket | ||
if: github.event.action == 'reopened' && steps.search.outputs.issue | ||
uses: atlassian/gajira-transition@v2.0.1 | ||
uses: atlassian/gajira-transition@38fc9cd61b03d6a53dd35fcccda172fe04b36de3 # v3.0.1 | ||
with: | ||
issue: ${{ steps.search.outputs.issue }} | ||
transition: "To Do" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
name: Jira sync | ||
steps: | ||
- name: Login | ||
uses: atlassian/[email protected].0 | ||
uses: atlassian/gajira-login@45fd029b9f1d6d8926c6f04175aa80c0e42c9026 # v3.0.1 | ||
env: | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | ||
|
@@ -50,7 +50,7 @@ jobs: | |
|
||
- name: Create ticket if an issue is filed, or if PR not by a team member is opened | ||
if: ( github.event.action == 'opened' && steps.is-team-member.outputs.MESSAGE == 'false' ) | ||
uses: tomhjp/[email protected].0 | ||
uses: tomhjp/gh-action-jira-create@3ed1789cad3521292e591a7cfa703215ec1348bf # v0.2.1 | ||
with: | ||
project: NET | ||
issuetype: "${{ steps.set-ticket-type.outputs.TYPE }}" | ||
|
@@ -70,28 +70,28 @@ jobs: | |
- name: Search | ||
if: github.event.action != 'opened' | ||
id: search | ||
uses: tomhjp/[email protected].1 | ||
uses: tomhjp/gh-action-jira-search@04700b457f317c3e341ce90da5a3ff4ce058f2fa # v0.2.2 | ||
with: | ||
# cf[10089] is Issue Link (use JIRA API to retrieve) | ||
jql: 'issuetype = "${{ steps.set-ticket-type.outputs.TYPE }}" and cf[10089] = "${{ github.event.issue.html_url || github.event.pull_request.html_url }}"' | ||
|
||
- name: Sync comment | ||
if: github.event.action == 'created' && steps.search.outputs.issue | ||
uses: tomhjp/gh-action-jira-comment@v0.1.0 | ||
uses: tomhjp/gh-action-jira-comment@6eb6b9ead70221916b6badd118c24535ed220bd9 # v0.2.0 | ||
with: | ||
issue: ${{ steps.search.outputs.issue }} | ||
comment: "${{ github.actor }} ${{ github.event.review.state || 'commented' }}:\n\n${{ github.event.comment.body || github.event.review.body }}\n\n${{ github.event.comment.html_url || github.event.review.html_url }}" | ||
|
||
- name: Close ticket | ||
if: ( github.event.action == 'closed' || github.event.action == 'deleted' ) && steps.search.outputs.issue | ||
uses: atlassian/gajira-transition@v2.0.1 | ||
uses: atlassian/gajira-transition@38fc9cd61b03d6a53dd35fcccda172fe04b36de3 # v3.0.1 | ||
with: | ||
issue: ${{ steps.search.outputs.issue }} | ||
transition: "Closed" | ||
|
||
- name: Reopen ticket | ||
if: github.event.action == 'reopened' && steps.search.outputs.issue | ||
uses: atlassian/gajira-transition@v2.0.1 | ||
uses: atlassian/gajira-transition@38fc9cd61b03d6a53dd35fcccda172fe04b36de3 # v3.0.1 | ||
with: | ||
issue: ${{ steps.search.outputs.issue }} | ||
transition: "To Do" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters