Fix addEvent remote trigger security #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MTA Resources Linter | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt update && sudo apt -y install luarocks lua5.1 && sudo luarocks install luacheck | |
- uses: actions/checkout@v1 | |
- name: Lint mta resources | |
run: | | |
echo 'ignore = {"512", "122","142","111","341","112","113","143","321","631","211","212","213","611","612","621"}' > config.lua | |
luacheck --config config.lua ./ |