Skip to content

Commit

Permalink
[discord-notify] using embeds to make things more explicit, bumped to…
Browse files Browse the repository at this point in the history
… 0.3.2

Signed-off-by: hugsy <[email protected]>
  • Loading branch information
hugsy committed Jun 23, 2021
1 parent 556aa92 commit 4661f81
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/discord-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,33 @@ name: "Discord Notification"
on: [push, pull_request, issues]
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: GEF Push Notification
uses: Ilshidur/[email protected].0
uses: Ilshidur/[email protected].2
if: github.event_name == 'push' && github.repository_owner == 'hugsy'
with:
args: |
${{ github.actor }} pushed ${{ github.event.ref }}: ${{ github.event.compare }}
[${{ github.actor }}](${{ github.actor.url }}) pushed to `${{ github.event.ref }}`: ${{ github.event.compare }}
- name: GEF PR Notification
uses: Ilshidur/[email protected].0
uses: Ilshidur/[email protected].2
if: github.event_name == 'pull_request' && github.event.action == 'opened' && github.repository_owner == 'hugsy'
with:
args: |
New PR (`#${{ github.event.pull_request.number }}`) from ${{ github.actor }}: {{ EVENT_PAYLOAD.pull_request.html_url }}
[${{ github.actor }}](${{ github.actor.url }}) created a new Pull Request (`#${{ github.event.pull_request.number }}`)
env:
DISCORD_EMBEDS: '{"embeds": [{"author": { "name": ${{ github.actor }}, "url": "{{ EVENT_PAYLOAD.pull_request.html_url }}", "icon_url": "${{ github.actor.avatar_url }}" } , "title": "PR `ID=#${{ github.event.pull_request.number }}`", "description": ":grinning:"}]}'

- name: GEF Issue Notification
uses: Ilshidur/[email protected].0
uses: Ilshidur/[email protected].2
if: github.event_name == 'issues' && github.event.action == 'opened' && github.repository_owner == 'hugsy'
with:
args: |
New Issue (`#${{ github.event.issue.number }}`) from ${{ github.actor }}: {{ EVENT_PAYLOAD.issue.html_url }}
[${{ github.actor }}](${{ github.actor.url }}) created a new Issue (`#${{ github.event.issue.number }}`)
env:
DISCORD_EMBEDS: '{"embeds": [{"author": { "name": ${{ github.actor }}, "url": "{{ EVENT_PAYLOAD.issue.html_url }}", "icon_url": "${{ github.actor.avatar_url }}" , "title": "Issue `ID=#${{ github.event.issue.number }}`", "description": ":grinning:"}]}'

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://i.imgur.com/v3PUqPx.png" alt="logo"/>
<img src="https://i.imgur.com/o0L8lPN.png" alt="logo"/>
</p>

`GEF` (pronounced ʤɛf - "Jeff") is a set of commands for x86/64, ARM, MIPS, PowerPC and SPARC to assist exploit developers and reverse-engineers when using old school GDB. It provides additional features to GDB using the Python API to assist during the process of dynamic analysis and exploit development. Application developers will also benefit from it, as GEF lifts a great part of regular GDB obscurity, avoiding repeating traditional commands, or bringing out the relevant information from the debugging runtime.
Expand Down

0 comments on commit 4661f81

Please sign in to comment.