EIPs/.github/workflows/auto-merge-bot.yml

57 lines
1.7 KiB
YAML
Raw Normal View History

on:
pull_request_target:
pull_request_review:
types: [submitted]
name: Auto-Merge Bot
EIP Linting Bot (#3351) * EIP Linting Bot * Delete .DS_Store * Delete .DS_Store * Delete .DS_Store * remove build * gitignore dist * add npm install && npm run build * fix script * prettier run * Handful of minor cleanups, fixes, and tweaks. * Update .github/bot/action.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/package.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * move to dev and cleanup packages * update readme * make versions explicit * Revert "Update .github/bot/tsconfig.json" This reverts commit 4a702c8d73b537845860d0277686a9b6964138d8. * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * update to node 14 * target ES2015 because github * remove log * compile at action run-time using github composites * use GITHUB-TOKEN instead * auto_merge_bot * collapse action into one line * update to node 14 bc of composite action * basic tests setup * absolute paths plus fixing jest and ts configs * revert absolute build out debug system * fixing absolute paths 🙏 * use repo * edit * edit * remove bot because in it's own repo now * Update eip-1051.md * fix issue with cd'ing into the action * revert accidental change * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * continue on error * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update eip-1015.md * Update eip-1015.md * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> Co-authored-by: Micah Zoltu <micah@zoltu.net>
2021-04-07 22:43:01 -05:00
jobs:
await_ci:
runs-on: ubuntu-latest
name: Await Travis CI Success
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js Environment
uses: actions/setup-node@v2
with:
node-version: '14'
- name: await-ci
uses: alita-moore/EIP-Bot@372a671f9eb63df50b1659ccfbe94594c7bbfc29
id: await-ci
with:
GITHUB-TOKEN: ${{ secrets.TOKEN }}
rerun_bot_on_review:
if: ${{ github.event_name == 'pull_request_review' }}
runs-on: ubuntu-latest
needs: [await_ci]
name: Rerun Bot on Review
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js Environment
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Re-run pull_request_target bot run on pull_request_review
uses: alita-moore/EIP-Bot@724e1eeaca560e4cf06dcc3f2345e94e7541fad9
id: rerun-pull-request-target-on-review
with:
GITHUB-TOKEN: ${{ secrets.TOKEN }}
EIP Linting Bot (#3351) * EIP Linting Bot * Delete .DS_Store * Delete .DS_Store * Delete .DS_Store * remove build * gitignore dist * add npm install && npm run build * fix script * prettier run * Handful of minor cleanups, fixes, and tweaks. * Update .github/bot/action.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/package.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * move to dev and cleanup packages * update readme * make versions explicit * Revert "Update .github/bot/tsconfig.json" This reverts commit 4a702c8d73b537845860d0277686a9b6964138d8. * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * update to node 14 * target ES2015 because github * remove log * compile at action run-time using github composites * use GITHUB-TOKEN instead * auto_merge_bot * collapse action into one line * update to node 14 bc of composite action * basic tests setup * absolute paths plus fixing jest and ts configs * revert absolute build out debug system * fixing absolute paths 🙏 * use repo * edit * edit * remove bot because in it's own repo now * Update eip-1051.md * fix issue with cd'ing into the action * revert accidental change * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * continue on error * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update eip-1015.md * Update eip-1015.md * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> Co-authored-by: Micah Zoltu <micah@zoltu.net>
2021-04-07 22:43:01 -05:00
auto_merge_bot:
if: ${{ github.event_name == 'pull_request_target' }}
EIP Linting Bot (#3351) * EIP Linting Bot * Delete .DS_Store * Delete .DS_Store * Delete .DS_Store * remove build * gitignore dist * add npm install && npm run build * fix script * prettier run * Handful of minor cleanups, fixes, and tweaks. * Update .github/bot/action.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/package.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * move to dev and cleanup packages * update readme * make versions explicit * Revert "Update .github/bot/tsconfig.json" This reverts commit 4a702c8d73b537845860d0277686a9b6964138d8. * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * update to node 14 * target ES2015 because github * remove log * compile at action run-time using github composites * use GITHUB-TOKEN instead * auto_merge_bot * collapse action into one line * update to node 14 bc of composite action * basic tests setup * absolute paths plus fixing jest and ts configs * revert absolute build out debug system * fixing absolute paths 🙏 * use repo * edit * edit * remove bot because in it's own repo now * Update eip-1051.md * fix issue with cd'ing into the action * revert accidental change * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * continue on error * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update eip-1015.md * Update eip-1015.md * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> Co-authored-by: Micah Zoltu <micah@zoltu.net>
2021-04-07 22:43:01 -05:00
runs-on: ubuntu-latest
needs: [await_ci, rerun_bot_on_review]
EIP Linting Bot (#3351) * EIP Linting Bot * Delete .DS_Store * Delete .DS_Store * Delete .DS_Store * remove build * gitignore dist * add npm install && npm run build * fix script * prettier run * Handful of minor cleanups, fixes, and tweaks. * Update .github/bot/action.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/package.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * move to dev and cleanup packages * update readme * make versions explicit * Revert "Update .github/bot/tsconfig.json" This reverts commit 4a702c8d73b537845860d0277686a9b6964138d8. * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * update to node 14 * target ES2015 because github * remove log * compile at action run-time using github composites * use GITHUB-TOKEN instead * auto_merge_bot * collapse action into one line * update to node 14 bc of composite action * basic tests setup * absolute paths plus fixing jest and ts configs * revert absolute build out debug system * fixing absolute paths 🙏 * use repo * edit * edit * remove bot because in it's own repo now * Update eip-1051.md * fix issue with cd'ing into the action * revert accidental change * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * continue on error * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update eip-1015.md * Update eip-1015.md * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> Co-authored-by: Micah Zoltu <micah@zoltu.net>
2021-04-07 22:43:01 -05:00
name: EIP Auto-Merge Bot
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js Environment
uses: actions/setup-node@v2
with:
node-version: '14'
- name: auto-merge-bot
uses: alita-moore/EIP-Bot@bbc378a87486973e55d7073b09e0d8e6088326b4
EIP Linting Bot (#3351) * EIP Linting Bot * Delete .DS_Store * Delete .DS_Store * Delete .DS_Store * remove build * gitignore dist * add npm install && npm run build * fix script * prettier run * Handful of minor cleanups, fixes, and tweaks. * Update .github/bot/action.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * Update .github/bot/package.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * move to dev and cleanup packages * update readme * make versions explicit * Revert "Update .github/bot/tsconfig.json" This reverts commit 4a702c8d73b537845860d0277686a9b6964138d8. * Update .github/bot/tsconfig.json Co-authored-by: Micah Zoltu <micah@zoltu.net> * update to node 14 * target ES2015 because github * remove log * compile at action run-time using github composites * use GITHUB-TOKEN instead * auto_merge_bot * collapse action into one line * update to node 14 bc of composite action * basic tests setup * absolute paths plus fixing jest and ts configs * revert absolute build out debug system * fixing absolute paths 🙏 * use repo * edit * edit * remove bot because in it's own repo now * Update eip-1051.md * fix issue with cd'ing into the action * revert accidental change * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> * continue on error * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update eip-1015.md * Update eip-1015.md * Update auto-merge-bot.yml * Update auto-merge-bot.yml * Update .github/workflows/auto-merge-bot.yml Co-authored-by: Micah Zoltu <micah@zoltu.net> Co-authored-by: Micah Zoltu <micah@zoltu.net>
2021-04-07 22:43:01 -05:00
id: auto-merge-bot
with:
GITHUB-TOKEN: ${{ secrets.TOKEN }}