This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from PatrickDinh/main
feat: add workflows to sync issues with Zendesk
- Loading branch information
Showing
5 changed files
with
58 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Solve zendesk ticket when the issue is closed | ||
on: | ||
issues: | ||
types: [closed] | ||
jobs: | ||
issue_closed: | ||
uses: algorandfoundation/gh_zendesk_sync/.github/workflows/github_zendesk_issue_closed.yml@main | ||
with: | ||
ZENDESK_TENANT_NAME: ${{ vars.ZENDESK_TENANT_NAME }} | ||
ISSUE_LABEL: makerx | ||
secrets: | ||
ZENDESK_AUTH_TOKEN: ${{ secrets.ZENDESK_AUTH_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Add comment to zendesk ticket on GitHub issue commented | ||
on: | ||
issue_comment: | ||
types: [created] | ||
jobs: | ||
issue_closed: | ||
uses: algorandfoundation/gh_zendesk_sync/.github/workflows/github_zendesk_issue_commented.yml@main | ||
with: | ||
ZENDESK_TENANT_NAME: ${{ vars.ZENDESK_TENANT_NAME }} | ||
ISSUE_LABEL: makerx | ||
secrets: | ||
ZENDESK_AUTH_TOKEN: ${{ secrets.ZENDESK_AUTH_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Create Zendesk ticket when an issue is labelled with makerx | ||
on: | ||
issues: | ||
types: [labeled] | ||
jobs: | ||
issue_created: | ||
uses: algorandfoundation/gh_zendesk_sync/.github/workflows/github_zendesk_issue_labelled.yml@main | ||
with: | ||
ZENDESK_TENANT_NAME: ${{ vars.ZENDESK_TENANT_NAME }} | ||
ISSUE_LABEL: makerx | ||
secrets: | ||
ZENDESK_AUTH_TOKEN: ${{ secrets.ZENDESK_AUTH_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Add comment to GitHub issue on Zendesk ticket commented | ||
on: | ||
repository_dispatch: | ||
types: | ||
- zendesk_github_add_comment | ||
permissions: | ||
issues: write | ||
jobs: | ||
add-comment: | ||
name: Add comment to issue | ||
uses: algorandfoundation/gh_zendesk_sync/.github/workflows/zendesk_github_add_comment.yml@main |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Close GitHub issue on Zendesk ticket solved | ||
on: | ||
repository_dispatch: | ||
types: | ||
- zendesk_github_close_issue | ||
permissions: | ||
issues: write | ||
jobs: | ||
close_issue: | ||
name: Close GitHub issue | ||
uses: algorandfoundation/gh_zendesk_sync/.github/workflows/zendesk_github_close_issue.yml@main |