diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..49861af --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,27 @@ +name: "Pull request" + +on: + push: + pull_request: + branches: + - 'main' + +jobs: + lint: + runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + statuses: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Super-linter + uses: super-linter/super-linter@v6.5.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index b453880..1d64d85 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Project Logo IPingTray +[![Super-Linter](https://github.com/henri9813//actions/workflows//badge.svg)](https://github.com/marketplace/actions/super-linter) This program permit to have your current ping in `ms` inside your menu bar on your computer ! ( cf [Screenshots](#screenshots))