All Projects → abeyuya → actions-mention-to-slack

abeyuya / actions-mention-to-slack

Licence: MIT license
Github Action for convert Github mention to Slack mention.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to actions-mention-to-slack

deploy-to-vercel-action
🎬▲ Deploy your project to Vercel using GitHub Actions. Supports PR previews and GitHub deployments.
Stars: ✭ 84 (+61.54%)
Mutual labels:  github-actions
chicio.github.io
👻 Fabrizio Duroni (me 😄) personal website. Created using GatsbyJS, Styled Components, Storybook, Typescript, tsParticles, GitHub pages, Github Actions, Upptime.
Stars: ✭ 20 (-61.54%)
Mutual labels:  github-actions
pandoc-action
github action to run pandoc, soft-deprecated ->
Stars: ✭ 39 (-25%)
Mutual labels:  github-actions
netlify-build-github-actions
An example of triggering a Netlify build using Github Actions Scheduled Events
Stars: ✭ 31 (-40.38%)
Mutual labels:  github-actions
setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (-51.92%)
Mutual labels:  github-actions
actions
github actions stuff
Stars: ✭ 39 (-25%)
Mutual labels:  github-actions
jr.mitou.org
未踏ジュニアの公式Webサイトです! YAML ファイルで更新できます 🛠💨
Stars: ✭ 17 (-67.31%)
Mutual labels:  github-actions
github-action-gitflow-release-workflow
Example workflows for automated releases in a GitFlow-style project using GitHub actions.
Stars: ✭ 91 (+75%)
Mutual labels:  github-actions
ts-scaffold
🏗 ts-scaffold - Scaffold project for Typescript projects, with Unit Tests and basic dependencies set up
Stars: ✭ 13 (-75%)
Mutual labels:  github-actions
jsdoc-action
📖 GitHub Action to build JSDoc documentation
Stars: ✭ 61 (+17.31%)
Mutual labels:  github-actions
action-eslint
🐋🐬 TypeScript/JavaScript ESLint action
Stars: ✭ 24 (-53.85%)
Mutual labels:  github-actions
action-pr-title
Github action to enforce Pull Request title conventions
Stars: ✭ 83 (+59.62%)
Mutual labels:  github-actions
no-free-usage-action
A NO-FREE-USAGE action for github. (Only worked with github action.)
Stars: ✭ 51 (-1.92%)
Mutual labels:  github-actions
django-step-by-step
A Django + Vue reference project that focuses on developer tooling and CI/CD + IaC
Stars: ✭ 86 (+65.38%)
Mutual labels:  github-actions
ftp-action
Automate copying your files via FTP using this GitHub action.
Stars: ✭ 90 (+73.08%)
Mutual labels:  github-actions
ghaction-virustotal
GitHub Action to upload and scan files with VirusTotal
Stars: ✭ 105 (+101.92%)
Mutual labels:  github-actions
nextjs-cron
Cron jobs with Github Actions for Next.js apps on Vercel▲
Stars: ✭ 144 (+176.92%)
Mutual labels:  github-actions
engine
A personal game engine project, with development focus towards 2D/2.5D games.
Stars: ✭ 32 (-38.46%)
Mutual labels:  github-actions
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+28.85%)
Mutual labels:  github-actions
slsa-provenance-action
Github Action implementation of SLSA Provenance Generation
Stars: ✭ 34 (-34.62%)
Mutual labels:  github-actions

Convert Github mention to Slack mention

This action sends mention to your slack account when you have been mentioned at github.

Feature

  • Send mention to slack if you have been mentioned
    • issue
    • pull request
  • Send notification to slack if you have been requested to review.
  • Send notification to slack if your pull request have been approved.

Inputs

Name Required Default Description
configuration-path Yes .github/mention-to-slack.yml Path to config-yaml-file to convert Github username to Slack member ID. You can use local file path or URL like https://github.com/path/to/yaml_raw_file
slack-webhook-url Yes Null Slack Incomming Webhook URL to notify.
repo-token Yes Null Github access token to fetch .github/mention-to-slack.yml file.
bot-name No Github Mention To Slack Display name for this bot on Slack.
icon-url No Null Display icon url for this bot on Slack.
run-id No Null Used for the link in the error message when an error occurs.

Example usage

.github/workflows/mention-to-slack.yml

on:
  issues:
    types: [opened, edited]
  issue_comment:
    types: [created, edited]
  pull_request:
    types: [opened, edited, review_requested]
  pull_request_review:
    types: [submitted]
  pull_request_review_comment:
    types: [created, edited]

jobs:
  mention-to-slack:
    runs-on: ubuntu-latest
    steps:
      - name: Run
        uses: abeyuya/actions-mention-to-slack@v2
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
          icon-url: https://img.icons8.com/color/256/000000/github-2.png
          bot-name: "Send Mention from abeyuya/actions-mention-to-slack"
          run-id: ${{ github.run_id }}

.github/mention-to-slack.yml

# For Github User
# github_username: "slack_member_id"

github_username_A: "slack_member_id_A"
github_username_B: "slack_member_id_B"
github_username_C: "slack_member_id_C"
abeyuya: "XXXXXXXXX"

# For Github Team
# github_teamname: "slack_member_id"

github_teamname_A: "slack_member_id_D"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].