├── .github └── workflows │ └── superlinter.yml ├── README.md └── main.py /.github/workflows/superlinter.yml: -------------------------------------------------------------------------------- 1 | name: Super-Linter 2 | 3 | on: push 4 | 5 | jobs: 6 | super-lint: 7 | name: Lint code base 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Checkout code 11 | uses: actions/checkout@v2 12 | 13 | - name: Run Super-Linter 14 | uses: github/super-linter@v4 15 | env: 16 | DEFAULT_BRANCH: main 17 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # mygitactions 2 | 3 | This is for the YouTube Tutorial: 4 | 5 | ## Updates 6 | Fix: Changed SuperLinter from v3 to v4 to fix the error `[FATAL] Failed to view version file:[/action/lib/functions/linterVersions.txt]` 7 | 8 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | def hello(): 2 | print("hi") 3 | 4 | 5 | def bye(): 6 | print("bye") 7 | 8 | 9 | print(hello()) 10 | --------------------------------------------------------------------------------