Remove action for creating pr and use gh cli instead #1214
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: Pylint | |
on: | |
pull_request: | |
branches: [ 'main' ] | |
permissions: | |
contents: read | |
jobs: | |
autoformat: | |
name: Auto-format and Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.15.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.15.x | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install pylint | |
- name: Run pylint | |
shell: bash | |
run: | | |
find . -name "*.py" | xargs pylint --disable=R,C |