Decoding GPT: How LLMs Work by Devesh Rajadhyax #126
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
# Send GitHub notifications to `pythonpune` IRC channel. | |
name: Notifications | |
on: | |
issue_comment: | |
types: [created] | |
issues: | |
types: [opened] | |
jobs: | |
talk-proposal: | |
# run only when issue open with label `talk-proposal`. | |
if: github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'talk-proposal') | |
runs-on: ubuntu-latest | |
steps: | |
- name: talk-proposal link | |
run: echo ${{ github.event.issue.html_url }} | |
- name: IRC notification | |
uses: Gottox/irc-message-action@v1 | |
with: | |
server: irc.libera.chat | |
channel: ${{ secrets.CHANNEL }} | |
nickname: pypune_${{ github.run_id }} | |
message: |- | |
New talk proposal submission: ${{ github.event.issue.title }} ${{ github.event.issue.html_url }} | |
newsletter-comment: | |
# run only when comment on issue with label `newsletter`. | |
if: github.event_name == 'issue_comment' && contains(github.event.issue.labels.*.name, 'newsletter') | |
runs-on: ubuntu-latest | |
steps: | |
- name: comment | |
env: | |
COMMENT: ${{ github.event.comment.body }} | |
run: echo "$COMMENT" | |
- name: IRC notification | |
uses: Gottox/irc-message-action@v1 | |
with: | |
server: irc.libera.chat | |
channel: ${{ secrets.CHANNEL }} | |
nickname: pypune_${{ github.run_id }}_1 | |
message: |- | |
${{ github.event.comment.body }} | |
Submitted by: ${{ github.event.comment.user.login }}. Have anything interesting to share? Add a comment here: ${{ github.event.comment.html_url }} |