Update lint.yml (#3464)

This commit is contained in:
Lars Hvam 2020-06-07 09:39:53 +02:00 committed by GitHub
parent 7a5f320927
commit 5177d6ffd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,5 +11,8 @@ jobs:
- uses: actions/checkout@v2
- name: abaplint
uses: abaplint/actions-abaplint@master
# 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 }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}