All Projects → micnncim → action-lgtm-reaction

micnncim / action-lgtm-reaction

Licence: Apache-2.0 license
GitHub Action to send LGTM reaction

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to action-lgtm-reaction

Fastpages
An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
Stars: ✭ 2,888 (+4558.06%)
Mutual labels:  actions
gh-actions-html-table-generator
Read from a json file and write to the README
Stars: ✭ 29 (-53.23%)
Mutual labels:  actions
release-changelog-builder-action
A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
Stars: ✭ 515 (+730.65%)
Mutual labels:  actions
action-my-broken-link-checker
A GitHub Action for checking broken links
Stars: ✭ 32 (-48.39%)
Mutual labels:  actions
pr-compliance-action
Check PR for compliance on title, linked issues, and files changed
Stars: ✭ 151 (+143.55%)
Mutual labels:  actions
auth
A GitHub Action for authenticating to Google Cloud.
Stars: ✭ 567 (+814.52%)
Mutual labels:  actions
Actions Gh Pages
GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
Stars: ✭ 2,576 (+4054.84%)
Mutual labels:  actions
gcloud-login-action
A Github Action which can be used to authenticate with Google Cloud Container Registry
Stars: ✭ 21 (-66.13%)
Mutual labels:  actions
setup-lazarus
Set up your GitHub Actions workflow with a specific version of Lazarus
Stars: ✭ 29 (-53.23%)
Mutual labels:  actions
issue-action
github action for github issue
Stars: ✭ 58 (-6.45%)
Mutual labels:  actions
ghaction-dump-context
GitHub Action composite to dump context
Stars: ✭ 30 (-51.61%)
Mutual labels:  actions
Localizr
Localizr is a Tool that handles and automates the generation of localization files for IOS and Android so there will be only one source of truth for all of your localization strings.
Stars: ✭ 33 (-46.77%)
Mutual labels:  actions
setup-meteor
Set up your GitHub Actions workflow with a specific version of Meteor.js
Stars: ✭ 17 (-72.58%)
Mutual labels:  actions
k6-action
k6 is now available as a GitHub Action
Stars: ✭ 64 (+3.23%)
Mutual labels:  actions
deploy-appengine
A GitHub Action that deploys source code to Google App Engine.
Stars: ✭ 184 (+196.77%)
Mutual labels:  actions
Awesome Actions
A curated list of awesome actions to use on GitHub
Stars: ✭ 16,943 (+27227.42%)
Mutual labels:  actions
innersource-crawler
This project creates a repos.json that can be utilized by the SAP InnerSource Portal.
Stars: ✭ 24 (-61.29%)
Mutual labels:  actions
azure-static-website-deploy
Deploys static website to Azure Storage
Stars: ✭ 18 (-70.97%)
Mutual labels:  actions
composer-action
Docker and GitHub Actions for Composer
Stars: ✭ 34 (-45.16%)
Mutual labels:  actions
do-spaces-action
📦Upload directories/files to DigitalOcean Spaces via GitHub Actions. Supports package/library versioning.
Stars: ✭ 30 (-51.61%)
Mutual labels:  actions

logo

actions-workflow-CI actions-marketplace pkg.go.dev release license

Send LGTM reaction as image when we say lgtm.

Currently supports LGTM.app and GIPHY.

Usage

Create Workflow

jobs.<job_id>.steps.env

Key Value Required
GITHUB_TOKEN ${{ secrets.GITHUB_TOKEN }} true
GIPHY_API_KEY ${{ secrets.GIPHY_API_KEY }} true if jobs.<job_id>.steps.with.source == giphy

jobs.<job_id>.steps.with

Key Default Required Note
trigger '["^lgtm$", "^[gG]ood [jJ]ob!?$"]' false Trigger comment body. It must be JSON string array of regexp.
override false false Override posted comment body or not.
source lgtmapp false lgtmapp or giphy

Example

For minimalists:

name: Send LGTM reaction
on:
  issue_comment:
    types: [created]
  pull_request_review:
    types: [submitted]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/[email protected]
      - uses: micnncim/action-lgtm-reaction@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

For nerds:

name: Send LGTM reaction
on:
  issue_comment:
    types: [created]
  pull_request_review:
    types: [submitted]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: micnncim/action-lgtm-reaction@master # Set some version.
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }}
        with:
          trigger: '[".*looks good to me.*"]'
          override: true
          source: 'giphy'

Setting GIPHY

The default image source is LGTM.app but you can also configure GIPHY.

  1. Create your app and get API key from here.
  2. Set the API key in GitHub repository (Setting > Secret) as GIPHY_API_KEY.
  3. Configure 'giphy' in your GitHub Actions workflow.

Projects using action-lgtm-reaction

Note

Icon made by Freepik from www.flaticon.com

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].