mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-24 23:48:17 +00:00
CI: Use a different ESLint action (#1130)
* use a different eslint action * workfile update
This commit is contained in:
parent
70720d4be1
commit
4f1eae8209
11
.github/workflows/lint.yml
vendored
11
.github/workflows/lint.yml
vendored
@ -1,14 +1,9 @@
|
||||
name: Lint
|
||||
on: pull_request
|
||||
name: 'ESLint check'
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gnosis/safe-react-eslint-action@main
|
||||
# GITHUB_TOKEN in forked repositories is read-only
|
||||
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
|
||||
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
with:
|
||||
repo-token: ${{secrets.GITHUB_TOKEN}}
|
||||
- uses: gnosis/safe-react-eslint-plus-action@main
|
||||
|
Loading…
x
Reference in New Issue
Block a user