ci: add contribution and license files #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |