Add support for Pydantic V2 #35
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
name: Issues to Discord | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
- deleted | |
- closed | |
jobs: | |
issue-to-discord: | |
name: issue-to-discord | |
runs-on: ubuntu-latest | |
steps: | |
- name: Post to discord | |
uses: Ilshidur/[email protected] | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_ISSUES }} | |
ACTION: ${{ github.event.action }} | |
REPO: ${{ github.repository }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
ISSUE_USER: ${{ github.event.issue.user.login }} | |
with: | |
args: "{{ REPO }} had an issue {{ ACTION }} by {{ ISSUE_USER }} at {{ ISSUE_URL }}." |