Skip to content

Commit

Permalink
ci: disable linter autocommits, remove pr checker (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
abalias authored Sep 8, 2022
1 parent 857f01e commit 60f4213
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 93 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,6 @@ jobs:
- name: Mega-Linter
id: ml
uses: megalinter/megalinter@v6
- name: Prepare commit
if: |
(success() || failure()) &&
steps.ml.outputs.has_updated_sources == 1 &&
github.event_name == 'pull_request'
run: sudo chown -Rc ${UID} .git/
- name: Import GPG key
id: import_gpg
if: |
(success() || failure()) &&
steps.ml.outputs.has_updated_sources == 1 &&
github.event_name == 'pull_request'
uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Commit and push applied linter fixes
if: |
(success() || failure()) &&
steps.ml.outputs.has_updated_sources == 1 &&
github.event_name == 'pull_request'
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.event.pull_request.head.ref }}
commit_message: "[Mega-Linter] Apply linters fixes"
commit_options: "--gpg-sign"
commit_user_name: ${{ steps.import_gpg.outputs.name }}
commit_user_email: ${{ steps.import_gpg.outputs.email }}
- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@v2
Expand Down
64 changes: 0 additions & 64 deletions .github/workflows/pr-check.yml

This file was deleted.

0 comments on commit 60f4213

Please sign in to comment.