aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/notify-issue.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/notify-issue.yaml')
-rw-r--r--.github/workflows/notify-issue.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/notify-issue.yaml b/.github/workflows/notify-issue.yaml
index b7f999d47bc..d218f59b158 100644
--- a/.github/workflows/notify-issue.yaml
+++ b/.github/workflows/notify-issue.yaml
@@ -8,6 +8,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
+ - name: Shorten URL
+ id: shortener
+ if: github.repository == 'void-linux/void-packages'
+ uses: Gottox/url-shortener-action@master
+ with:
+ url: "${{ github.event.issue.html_url }}"
- name: "Issue Notification"
uses: Gottox/irc-message-action@master
if: github.repository == 'void-linux/void-packages'
@@ -20,5 +26,6 @@ jobs:
message: >-
${{ github.actor }}
${{ github.event.action }} issue
+ #${{ github.event.issue.number }}
“${{ github.event.issue.title }}”
- ${{ github.event.issue.html_url }}
+ ${{ steps.shortener.outputs.short_url }}