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]