on: push: branches: - main jobs: lint-code: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 - name: Lint Code Base uses: github/super-linter@v4 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: "main" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish-release: runs-on: ubuntu-latest steps: - name: Publish Release uses: ncipollo/release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} draft: false prerelease: false name: "0.0.${{ github.run_number }}" tag: "0.0.${{ github.run_number }}" body: "Release 0.0.${{ github.run_number }}"