Skip to content

Commit

Permalink
Update discord-notify.yml
Browse files Browse the repository at this point in the history
[BUG] Allowing Discord PR notification from external repo (duh!)
[CHANGES] Color code for issue notifications (red)
  • Loading branch information
hugsy authored Aug 3, 2021
1 parent c21fe01 commit 2517616
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/discord-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
username: ${{ github.actor }} via GithubBot
avatar_url: ${{ github.actor.avatar_url }}

- name: GEF PR Notification
if: github.event_name == 'pull_request' && github.event.action == 'opened' && github.repository_owner == 'hugsy'
- name: GEF Pull Request Notification
if: github.event_name == 'pull_request' && github.event.action == 'opened'
uses: sarisia/actions-status-discord@v1
with:
nodetail: true
Expand All @@ -43,7 +43,7 @@ jobs:
---
Link: ${{ github.event.pull_request.html_url }}
color: 0xff0000
color: 0x00ff00
username: ${{ github.actor }} via GithubBot
avatar_url: ${{ github.actor.avatar_url }}

Expand All @@ -60,6 +60,6 @@ jobs:
---
Link: ${{ github.event.issue.html_url }}
color: 0x00ff00
color: 0xff0000
username: ${{ github.actor }} via GithubBot
avatar_url: ${{ github.actor.avatar_url }}

0 comments on commit 2517616

Please sign in to comment.