ci: use token for automated PRs

* Use a Github App token to allow CI to run automatically
(Following
https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens)

* Enable automerge

* make lint workflow only run once on PRs to master
This commit is contained in:
Christian Clason 2024-01-28 11:47:45 +01:00
parent 6f586875e3
commit b5736698be
3 changed files with 29 additions and 16 deletions

View file

@ -1,8 +1,9 @@
name: Linting and style checking
on:
push:
pull_request:
branches:
- "master"
jobs:
luacheck: