forked from Wavyzz/py-healthchecks.io
Bumps [Ilshidur/action-discord](https://github.com/ilshidur/action-discord) from 0.3.2 to 0.4.0. - [Release notes](https://github.com/ilshidur/action-discord/releases) - [Commits](https://github.com/ilshidur/action-discord/compare/0.3.2...0.4.0) --- updated-dependencies: - dependency-name: Ilshidur/action-discord dependency-version: 0.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
24 lines
665 B
YAML
24 lines
665 B
YAML
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/action-discord@0.4.0
|
|
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 }}."
|