mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 04:08:09 +00:00
* 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 auto-merge-bot.yml
* Update auto-merge-bot.yml
* Update auto-merge-bot.yml
* address comments and rerun instead of delete
* update bot to also show reasons in exception message
* throws error if no workflow runs were found to re-run
* use bot id rather than file name to improve reliability
* try to split up the jobs
* don't filter by review type for testing
* fix yml errors
* fix yml again 😬
* only run on approved review
* revert
* Update auto-merge-bot.yml
* Update auto-merge-bot.yml
* Create test.yml
* standard initial bot run, if review run dummy action, workflow_run trigger bot from root repo scope
* rename job
* fix CI
* update re-run action
35 lines
991 B
YAML
35 lines
991 B
YAML
on: [pull_request_target]
|
|
name: Auto-Merge Bot
|
|
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 # await-ci-pass
|
|
id: await-ci
|
|
with:
|
|
GITHUB-TOKEN: ${{ secrets.TOKEN }}
|
|
auto_merge_bot:
|
|
runs-on: ubuntu-latest
|
|
needs: [await_ci]
|
|
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@1b25b8093d7c0acfbe45a534a150097dbef75b84 # master
|
|
id: auto-merge-bot
|
|
with:
|
|
GITHUB-TOKEN: ${{ secrets.TOKEN }}
|