rbfx/GitHub on Discord

Doing stuff so you dont have to.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
action-taskTask this action is to perform. One of: discord-commits, discord-jobs.yes
github-tokenGitHub access token.yes
discord-webhookDiscord webhook.no
discord-usernameUsername of discord bot.no
discord-avatar-urlURL to avatar of discord bot.no
discord-filterFilter expression which decides whether this job will be processed.no'{{ github.branch }}' == 'master'
discord-commit-messageCommit message templateno{{ commit.author.name }} ([@{{ github.context.payload.head_commit.author.username }}](https://github.com/{{ github.context.payload.head_commit.author.username }}/)) commited: [{{ commit.title }}]({{ commit.url }})
discord-commit-embedCommit embed templateno{ "title": "{{ commit.title }}", "description": "{{ commit.description }}", "url": "{{ commit.url }}", "timestamp": "{{ commit.timestamp }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://unavatar.now.sh/gravatar/{{ commit.author.email }}" }, "color": "0x294A70" }
discord-commit-push-allPush all commits instead of just latest one.nofalse
discord-job-new-failure-messageTemplate of new job failure message.noFailing commit diff: {{ github.context.payload.compare }}
discord-job-new-failure-embedEmbed template for reporting new job failures.no{ "title": "`{{ job.name }}` job is failing!", "description": "Bad [@{{ github.context.payload.head_commit.author.username }}](https://github.com/{{ github.context.payload.head_commit.author.username }}/)!\nCommit [{{ github.context.payload.head_commit.title }}]({{ github.context.payload.head_commit.url }}) pushed to [{{ github.branch }}]({{ github.branch_url }}) broke job [{{ job.name }}]({{ job.url }}).\nFailing steps: {{ failing_steps }}", "url": "{{ job.url }}", "color": "0xFF0000", "timestamp": "{{ run.updated_at }}" }
discord-job-fixed-failure-messageTitle of fixed job failure message.no[{{ github.branch }}]({{ github.branch_url }}) branch is no longer failing!
discord-job-fixed-failure-embedMessage template for reporting previously failed job succeeding.no{ "title": "`{{ github.branch }}` branch is no longer failing!", "description": "Build failures were fixed on [{{ github.branch }}]({{ github.branch_url }}) branch. Good job [@{{ github.context.payload.head_commit.author.username }}](https://github.com/{{ github.context.payload.head_commit.author.username }}/)!", "color": "0x00FF00", "url": "{{ github.context.payload.head_commit.url }}", "timestamp": "{{ run.completed_at }}" }

no outputs