From a62baab8d32766aa0da7024c2a91c403a1918ea7 Mon Sep 17 00:00:00 2001 From: Samantha-uk Date: Fri, 8 Jan 2021 23:43:26 +0000 Subject: [PATCH] chore: introduce github actions --- .github/workflows/super-linter.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/super-linter.yml diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml new file mode 100644 index 0000000..6fe9e76 --- /dev/null +++ b/.github/workflows/super-linter.yml @@ -0,0 +1,25 @@ +name: super-Linter + +# Run this workflow every time a new commit pushed to your repository +on: push + +jobs: + # Set the job key. The key is displayed as the job name + # when a job name is not provided + super-lint: + # Name the Job + name: Lint code base + # Set the type of machine to run on + runs-on: ubuntu-latest + + steps: + # Checks out a copy of your repository on the ubuntu-latest machine + - name: Checkout code + uses: actions/checkout@v2 + + # Runs the Super-Linter action + - name: Run Super-Linter + uses: github/super-linter@v3 + env: + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file