Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
19c39833
Unverified
Commit
19c39833
authored
Sep 21, 2021
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update the linter to skip running on forks and update the version
parent
45709a5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lint.yml
.github/workflows/lint.yml
+3
-2
No files found.
.github/workflows/lint.yml
View file @
19c39833
...
@@ -4,13 +4,14 @@ on:
...
@@ -4,13 +4,14 @@ on:
push
:
push
:
branches
:
branches
:
-
main
-
main
pull_request
_target
:
pull_request
:
branches
:
branches
:
-
main
-
main
jobs
:
jobs
:
run-linters
:
run-linters
:
name
:
Run linters
name
:
Run linters
if
:
${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
...
@@ -39,7 +40,7 @@ jobs:
...
@@ -39,7 +40,7 @@ jobs:
run
:
yarn install --frozen-lockfile
run
:
yarn install --frozen-lockfile
-
name
:
Run linters
-
name
:
Run linters
uses
:
wearerequired/lint-action@
b98b0918aa71490373d2eca9e8e39a9bc1cc2517
uses
:
wearerequired/lint-action@
36c7e6689e80d785d27a22f71d970f3a3b4fcb70
with
:
with
:
github_token
:
${{ secrets.github_token }}
github_token
:
${{ secrets.github_token }}
eslint
:
true
eslint
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment