Skip to content

Commit

Permalink
Adding linter check for commits
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifercr07 committed Jun 3, 2024
1 parent 6154792 commit 1fd4119
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pre-commit-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: precommit-actions
run-name: ${{ github.actor }} is running precommit actions.
on: [push]
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-linter
uses: super-linter/[email protected] # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1fd4119

Please sign in to comment.