https://github.com/abaplint/actions-abaplint
abaplint GitHub actions
https://github.com/abaplint/actions-abaplint
abap abapgit abaplint github-actions
Last synced: 5 months ago
JSON representation
abaplint GitHub actions
- Host: GitHub
- URL: https://github.com/abaplint/actions-abaplint
- Owner: abaplint
- License: mit
- Created: 2018-12-09T10:12:49.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T15:16:00.000Z (over 3 years ago)
- Last Synced: 2024-07-30T16:39:27.894Z (9 months ago)
- Topics: abap, abapgit, abaplint, github-actions
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# actions-abaplint
abaplint GitHub action
For additional features, faster feedback, and support use [abaplint.app](https://abaplint.app)
### Usage
```yml
name: linton: [push, pull_request]
jobs:
lint:runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: abaplint
uses: abaplint/actions-abaplint@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 }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```The GITHUB_TOKEN is used to push back the results via the [Checks API](https://developer.github.com/v3/checks/)
A specific version can be chosen by setting the `version` attribute, if not set, `@abaplint/cli@latest` will be used
```
with:
version: '2.36.5'
```