Giter Site home page Giter Site logo

tim203 / actions-git-discord-webhook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnnyhuy/actions-discord-git-webhook

0.0 0.0 1.0 2.65 MB

GitHub actions webhook for Discord rich embedded info

License: GNU General Public License v3.0

JavaScript 90.05% Dockerfile 9.95%

actions-git-discord-webhook's Introduction

Discord Webhook

All credits go to the initial release by baked-libs/discord-webhook and the fork where this repo is based off johnnyhuy/actions-discord-git-webhook

This is fork of the original Discord Webhook GitHub Action, but with changes to the embed message.

preview

๐Ÿ“ญ Inputs

webhook_url

Required The GitHub webhook URL comprised of both id and token fields.

status

The GitHub job status: ${{ job.status }}

๐Ÿ“œ Usage

To set up this Action, create a new workflow file under .github/workflows/workflow_name.yml.

name: Discord Webhook

on: [push]

jobs:
  git:
    runs-on: ubuntu-latest
    steps:

    - uses: actions/checkout@v2

    - name: Run Discord Webhook
      uses: Tim203/actions-git-discord-webhook@main 
      with:
        webhook_url: ${{ secrets.YOUR_DISCORD_WEBHOOK_URL }}

Development

NodeJS should be the only hard requirement to get this project working to make changes. Optionally, we can use Docker Compose to provide this dependency in container with a volume to our host to make additional code changes.

# Local
npm ci

# Docker
docker-compose build workspace
docker-compose run --rm workspace
npm ci

Versioning

Changes are versioned via GitHub Actions that use standard-version to create Git tags and conventional-github-releaser to submit GitHub releases.

We follow the Conventional Commits standard where commit messages get automatically analysed to produce a generated semantic version.

actions-git-discord-webhook's People

Contributors

a-h-i avatar georgelilaccat avatar github-actions[bot] avatar johnnyhuy avatar thebusybiscuit avatar tim203 avatar

Forkers

thatsmusic99

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.