Skip to content

ci: github-actions improvements #67

ci: github-actions improvements

ci: github-actions improvements #67

Workflow file for this run

---
name: Linter
# Default shell is `sh`
# which is old, use bourne-again version instead
defaults:
run:
shell: bash
on:
pull_request:
jobs:
lint:
name: Lint changes
runs-on: ubuntu-latest
env:
APPLY_FIXES: none
DISABLE: COPYPASTE,SPELL
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
DISABLE_LINTERS: REPOSITORY_GITLEAKS
DISABLE_ERRORS_LINTERS: PROTOBUF_PROTOLINT
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
fetch-depth: 0
# - name: Mega-Linter
# id: ml
# uses: megalinter/megalinter@v6
- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: Mega-Linter reports
path: |
megalinter-reports
mega-linter.log