Skip to content

Instantly share code, notes, and snippets.

View bdougie's full-sized avatar

Brian Douglas bdougie

View GitHub Profile
name: Sign off commits in UI
on:
pull_request:
paths:
- '*.md'
jobs:
sign-off-commit:
name: signing commit
name: Fetch Upstream
on: pull_request
jobs:
fetch-upstream:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: fetch and push
@bdougie
bdougie / nvim.init
Last active November 8, 2021 19:00
nvim config
set nocompatible " be improved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.config/nvim/bundle/Vundle.vim
call vundle#begin() " required
Plugin 'VundleVim/Vundle.vim' " required
" Word wrap
set wrap
set textwidth=80
let sharp = await npm("sharp")
sharp
let sharp = await npm("sharp")
sharp
Explanation

Your account was auto added to the org by a few ways. Here is the explanation on how that happened.

The actions workflow, auto-approve.yml, is trigger on all pull requests. During this triggered worfklow 3 synchronous actions. They syncronous because of the steps flag in the YAML, which we will cover.

  1. hmarr/auto-approve-action@v2.0.0 - An action that approves PRs automatically
  2. bdougie/label-when-approved-action@master - An action the adds a specified label when approved (forked from puill-reminders/label-when-approved-action)
  3. bdougie/automerge-action@master - An action that merges pull requests with the "automerge" label. (forked from pascalgn/automerge-action)
@bdougie
bdougie / README.md
Last active January 10, 2019 16:56 — forked from DEGoodmanWilson/README.md
Giphy and GitHub

Goals:

  1. Learn how to set up Probot to create a GitHub App boilerplate
  2. Learn what a GitHub Event is.
  3. Learn how to tell Probot to react to Events by calling external APIs

Let's begin with a warmup. Imagine that we want to greet new visitors to our open source project, by sending them a gif when they open a new issue.

Part 1: Hello World

Begin by making a sandbox repository, to keep everything nice and contained. https://github.com/new

04b10296819c3ed4099f0e473c94223a08b6c55ad9697f2efc612a98a61feeb331a548213df9d9018b75c1e1b586074fc5f718c9404711f66a3cd249151320bfbe