From 233a776f2aae55bcc5e4277ce0fc4cf1df33b721 Mon Sep 17 00:00:00 2001 From: "qbox-duck[bot]" <152818034+qbox-duck[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 01:33:58 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/'=20wi?= =?UTF-8?q?th=20remote=20'repo-template/.github/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/discord-commit.yml | 16 ++++++++++++++++ .github/workflows/discord-release.yml | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/discord-commit.yml diff --git a/.github/workflows/discord-commit.yml b/.github/workflows/discord-commit.yml new file mode 100644 index 0000000..3cd7e34 --- /dev/null +++ b/.github/workflows/discord-commit.yml @@ -0,0 +1,16 @@ +name: "Discord Commit" + +on: [push] + +jobs: + report-status: + if: github.event.repository.default_branch == github.ref_name + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4.1.1 + - name: Discord Webhook + uses: ChatDisabled/discord-commits@main + with: + id: ${{ secrets.WEBHOOK_ID }} + token: ${{ secrets.WEBHOOK_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml index 6523b6e..594c8f1 100644 --- a/.github/workflows/discord-release.yml +++ b/.github/workflows/discord-release.yml @@ -1,3 +1,5 @@ +name: "Discord Releases" + on: release: types: [published]