Navigation Menu

Skip to content

Commit

Permalink
chore: Set up autoapprove and delete synth scripts (#8311)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Feb 9, 2022
1 parent bf9e37d commit ccf677d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 82 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoapprove.yml
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
auto-approve:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'autosynth')
if: contains(github.head_ref, 'gen/')
env:
ENABLE_AUTO_APPROVE: ${{ secrets.ENABLE_AUTO_APPROVE }}
steps:
Expand All @@ -19,7 +19,7 @@ jobs:
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
script: |
if (context.payload.sender.login != "yoshi-automation") {
if (context.payload.sender.login != "yoshi-code-bot") {
core.error("AutoApprove: Not running for this sender.");
return;
}
Expand Down
39 changes: 0 additions & 39 deletions script/synth.rb

This file was deleted.

41 changes: 0 additions & 41 deletions synth.py

This file was deleted.

0 comments on commit ccf677d

Please sign in to comment.