Skip to content

Commit

Permalink
Fix PR on pull_request_target event. (trustwallet#3115)
Browse files Browse the repository at this point in the history
Co-authored-by: Catenocrypt <[email protected]>
  • Loading branch information
optout21 and Catenocrypt authored Aug 7, 2020
1 parent cfb4f49 commit 319db19
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/fix-pr-target.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Fixes and Consistency Updates - PR
on:
push:
branches:
- '*'
- '!master'
pull_request-target
jobs:
fix-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install Dependencies
run: npm ci
- name: Run fix script
run: npm run fix
- name: Show fix result (diff); run 'npm run fix' locally
run: git status
- name: Run check
run: npm run check
- name: Run test
run: npm t
- name: Commit changes if any
if: success()
uses: stefanzweifel/[email protected]
with:
commit_user_name: trust-wallet-merge-bot
commit_user_email: [email protected]
commit_message: Fixes and Consistency Updates PR

0 comments on commit 319db19

Please sign in to comment.