Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpsoares91 committed Jan 11, 2024
1 parent bbbbd63 commit 6430e7c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run container (from latest release)
uses: docker://ghcr.io/cmpsoares/gh-team-mention-notifier:v1.0.18
uses: docker://ghcr.io/cmpsoares/gh-team-mention-notifier:v1.0.19
with:
config_path: './test/config.json'
env:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run GitHub Action (from latest release)
uses: cmpsoares/[email protected].18
uses: cmpsoares/[email protected].19
with:
config_path: './test/config.json'
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Notify Teams
uses: cmpsoares/[email protected].18
uses: cmpsoares/[email protected].19
with:
config_path: 'notifications_config.json'
env:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ inputs:
default: 'notifications_config.json'
runs:
using: 'docker'
image: 'docker://ghcr.io/cmpsoares/gh-team-mention-notifier:v1.0.18'
image: 'docker://ghcr.io/cmpsoares/gh-team-mention-notifier:v1.0.19'
2 changes: 1 addition & 1 deletion src/notify_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def main():
debug_log(f"Event type: {event_type}")

# Extract relevant data based on the type of event
comment_body, html_url, title, creator, creator_avatar, event_created_at, creator_full_name = '', '', '', '', '', ''
comment_body, html_url, title, creator, creator_avatar, event_created_at, creator_full_name = '', '', '', '', '', '', ''
if 'comment' in event:
comment_body = event['comment']['body']
html_url = event['comment']['html_url']
Expand Down

0 comments on commit 6430e7c

Please sign in to comment.