From dd896490824f6caddb8810cf7376784ae868b738 Mon Sep 17 00:00:00 2001 From: Adam R <13562139+catenocrypt@users.noreply.github.com> Date: Wed, 5 Aug 2020 12:59:39 +0200 Subject: [PATCH] Fix-pr does not work, due to credentials issue; removing it. (#3052) Co-authored-by: Catenocrypt --- .github/workflows/fix-dryrun.yml | 2 +- .github/workflows/fix-pr.yml | 35 --------------------------- .github/workflows/fix.yml | 2 +- .github/workflows/periodic-update.yml | 2 +- 4 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 .github/workflows/fix-pr.yml diff --git a/.github/workflows/fix-dryrun.yml b/.github/workflows/fix-dryrun.yml index 43d30940e..bffc8a7a1 100644 --- a/.github/workflows/fix-dryrun.yml +++ b/.github/workflows/fix-dryrun.yml @@ -18,7 +18,7 @@ jobs: run: npm ci - name: Run fix script run: npm run fix - - name: Show git status (diff) + - name: Show fix result (diff); run 'npm run fix' locally if: success() run: git status - name: Run test diff --git a/.github/workflows/fix-pr.yml b/.github/workflows/fix-pr.yml deleted file mode 100644 index 59ec6c6ce..000000000 --- a/.github/workflows/fix-pr.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Fixes and Consistency Updates - PR -on: - push: - branches: - - '*' - - '!master' - pull_request: - branches: [master] -jobs: - scripts: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - token: ${{ secrets.DANGER_GITHUB_API_TOKEN }} - ref: ${{ github.head_ref }} - - 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 git status (diff) - if: success() - run: git status - - name: Run test - run: npm t - - name: Commit changes if any - if: success() - uses: stefanzweifel/git-auto-commit-action@v4.1.2 - with: - commit_user_name: trust-wallet-merge-bot - commit_user_email: mergebot@trustwallet.com - commit_message: Fixes and Consistency Updates PR diff --git a/.github/workflows/fix.yml b/.github/workflows/fix.yml index 510bb4d82..1de34601a 100644 --- a/.github/workflows/fix.yml +++ b/.github/workflows/fix.yml @@ -17,7 +17,7 @@ jobs: run: npm ci - name: Run fix script run: npm run fix - - name: Show git status (diff) + - name: Show fix result (diff); run 'npm run fix' locally if: success() run: git status - name: Run test diff --git a/.github/workflows/periodic-update.yml b/.github/workflows/periodic-update.yml index a1e1ef39d..c67355433 100644 --- a/.github/workflows/periodic-update.yml +++ b/.github/workflows/periodic-update.yml @@ -18,7 +18,7 @@ jobs: run: npm ci - name: Run scripts run: npm run update - - name: Show git status (diff) + - name: Show fix result (diff); run 'npm run fix' locally if: success() run: git status - name: Run test