-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ddc7f0
commit 8c24867
Showing
13 changed files
with
145 additions
and
164 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
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,8 +13,10 @@ jobs: | |
name: Find orphans and notify | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Get list of orphans | ||
uses: actions/github-script@v3 | ||
uses: actions/github-script@v6 | ||
id: orphans | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -50,10 +52,10 @@ jobs: | |
} | ||
- if: steps.orphans.outputs.found == 'true' | ||
name: Convert markdown to slack markdown | ||
uses: LoveToKnow/slackify-markdown[email protected] | ||
uses: asyncapi/.github/.github/actions/slackify-markdown@master | ||
id: issuemarkdown | ||
with: | ||
text: "-> [${{steps.orphans.outputs.title}}](${{steps.orphans.outputs.url}})" | ||
markdown: "-> [${{steps.orphans.outputs.title}}](${{steps.orphans.outputs.url}})" | ||
- if: steps.orphans.outputs.found == 'true' | ||
name: Send info about orphan to slack | ||
uses: rtCamp/action-slack-notify@v2 | ||
|
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 |
---|---|---|
|
@@ -20,11 +20,13 @@ jobs: | |
name: Notify slack on every new issue | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Convert markdown to slack markdown for issue | ||
uses: LoveToKnow/slackify-markdown[email protected] | ||
uses: asyncapi/.github/.github/actions/slackify-markdown@master | ||
id: issuemarkdown | ||
with: | ||
text: "[${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}" | ||
markdown: "[${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}" | ||
- name: Send info about issue | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
|
@@ -38,11 +40,13 @@ jobs: | |
name: Notify slack on every new pull request | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Convert markdown to slack markdown for pull request | ||
uses: LoveToKnow/slackify-markdown[email protected] | ||
uses: asyncapi/.github/.github/actions/slackify-markdown@master | ||
id: prmarkdown | ||
with: | ||
text: "[${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}" | ||
markdown: "[${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}" | ||
- name: Send info about pull request | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
|
@@ -56,11 +60,13 @@ jobs: | |
name: Notify slack on every new pull request | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Convert markdown to slack markdown for pull request | ||
uses: LoveToKnow/slackify-markdown[email protected] | ||
uses: asyncapi/.github/.github/actions/slackify-markdown@master | ||
id: discussionmarkdown | ||
with: | ||
text: "[${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}" | ||
markdown: "[${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}" | ||
- name: Send info about pull request | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
|
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
Oops, something went wrong.