-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix EIP-Bot CI * Add newline to CODEOWNERS * Make changes for testing * Test if GH Actions is a valid codeowner * It isn't allowed * Fix infinite loop * Do some tricks to avoid unneccesary extra runs * Fixing bug * Add Pandapip1-bot * Fix quotes * Another fix bites the dust * Another fix * Another thing * Use my testing fork * More fixes * Unpin while in dev * Add testing bot to codeowners * Is that the bug? * Try this fix * Quickfix * That was an easy fix * Remove Pandapip1-bot references * Update diff * Missed some * Pin to commit
- Loading branch information
Showing
9 changed files
with
136 additions
and
124 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @eth-bot |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
on: | ||
workflow_run: | ||
workflows: | ||
- Auto Review Bot Trigger | ||
types: | ||
- completed | ||
|
||
name: Auto Review Bot | ||
jobs: | ||
auto-review-bot: | ||
runs-on: ubuntu-latest | ||
name: Run | ||
steps: | ||
- name: Fetch PR Number | ||
uses: dawidd6/action-download-artifact@6765a42d86407a3d532749069ac03705ad82ebc6 | ||
with: | ||
name: pr-number | ||
workflow: auto-review-trigger.yml | ||
run_id: ${{ github.event.workflow_run.id }} | ||
|
||
- name: Save PR Number | ||
id: save-pr-number | ||
run: echo "::set-output name=pr::$(cat pr-number.txt)" | ||
|
||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
with: | ||
repository: ethereum/EIPs # Default, but best to be explicit here | ||
ref: master | ||
|
||
- name: Setup Node.js Environment | ||
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 | ||
with: | ||
node-version: 14 | ||
|
||
- name: Auto Review Bot | ||
id: auto-review-bot | ||
uses: ethereum/EIP-Bot@252101922c71d76a422d9b2c04875f88cd6494d9 | ||
with: | ||
GITHUB-TOKEN: ${{ secrets.TOKEN }} | ||
PR_NUMBER: ${{ steps.save-pr-number.outputs.pr }} | ||
CORE_EDITORS: '@MicahZoltu,@lightclient,@axic,@gcolvin,@SamWilsn,@Pandapip1' | ||
ERC_EDITORS: '@lightclient,@axic,@SamWilsn,@Pandapip1' | ||
NETWORKING_EDITORS: '@MicahZoltu,@lightclient,@axic,@SamWilsn' | ||
INTERFACE_EDITORS: '@lightclient,@axic,@SamWilsn,@Pandapip1' | ||
META_EDITORS: '@lightclient,@axic,@gcolvin,@SamWilsn,@Pandapip1' | ||
INFORMATIONAL_EDITORS: '@lightclient,@axic,@gcolvin,@SamWilsn,@Pandapip1' | ||
MAINTAINERS: '@alita-moore,@mryalamanchi' | ||
|
||
- name: Enable Auto-Merge | ||
uses: reitermarkus/automerge@a25ea0de41019ad13380d22e01db8f5638f1bcdc | ||
with: | ||
token: ${{ secrets.TOKEN }} | ||
pull-request: ${{ steps.save-pr-number.outputs.pr }} | ||
|
||
- name: Submit Approval | ||
uses: hmarr/auto-approve-action@24ec4c8cc344fe1cdde70ff37e55ace9e848a1d8 | ||
with: | ||
github-token: ${{ secrets.TOKEN }} | ||
pull-request-number: ${{ steps.save-pr-number.outputs.pr }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
pull_request_review: | ||
types: | ||
- submitted | ||
- dismissed | ||
workflow_dispatch: | ||
inputs: | ||
pr_number: | ||
description: Pull Request Number | ||
type: string | ||
required: true | ||
|
||
name: Auto Review Bot Trigger | ||
jobs: | ||
pull-request: | ||
runs-on: ubuntu-latest | ||
name: Pull Request | ||
if: github.event_name == 'pull_request_target' | ||
steps: | ||
- name: Write PR Number | ||
run: echo $PR_NUMBER > pr-number.txt | ||
env: | ||
PR_NUMBER: ${{ github.event.number }} | ||
|
||
- name: Save PR Number | ||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 | ||
with: | ||
name: pr-number | ||
path: pr-number.txt | ||
|
||
pr-review: | ||
runs-on: ubuntu-latest | ||
name: Review | ||
if: github.event_name == 'pull_request_review' && github.event.review.sender != 'eth-bot' && github.event.review.state == 'approved' | ||
steps: | ||
- name: Write PR Number | ||
run: echo $PR_NUMBER > pr-number.txt | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
|
||
- name: Save PR Number | ||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 | ||
with: | ||
name: pr-number | ||
path: pr-number.txt | ||
|
||
dispatch: | ||
runs-on: ubuntu-latest | ||
name: Dispatch | ||
if: github.event_name == 'workflow_dispatch' | ||
steps: | ||
- name: Write PR Number | ||
run: echo $PR_NUMBER > pr-number.txt | ||
env: | ||
PR_NUMBER: ${{ inputs.pr_number }} | ||
|
||
- name: Save PR Number | ||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 | ||
with: | ||
name: pr-number | ||
path: pr-number.txt |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0b07ac5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandapip1-patch-1 #6976
0b07ac5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/auto-merge-bot.yml #5414 #5400 #8575 #8575 #8701 #7206
0b07ac5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks