Skip to content

Instantly share code, notes, and snippets.

@bdougie
Last active September 23, 2019 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdougie/27a447a9d0607dd9ac8f02986d39c2d8 to your computer and use it in GitHub Desktop.
Save bdougie/27a447a9d0607dd9ac8f02986d39c2d8 to your computer and use it in GitHub Desktop.
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)

Click through the links to see the code, each one is approached differently, this is because actions are Virtual enviroments that run any specified and abritray code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment