2 Commits

Author SHA1 Message Date
okuuva
4101eedc7e ci: fix stylua workflow (#22)
Workflow was broken for everybody except me since pull_request trigger
only works properly if every contributor has write access to the repo.
With fork based workflow prevalent in Github the trigger to use is
pull_request_target where the config and access token comes from main
branch instead of the PR itself.

Other notable changes:
- Only run checks if lua files change
- Run even if PR targets some branch other than main
2023-04-30 11:25:13 +03:00
okuuva
0c2c857de7 ci: add pr lint workflow (#21)
Closes #19.
2023-04-30 11:18:08 +03:00