graphql-engine/.github/workflows
Antoine Leblanc 591db631ea ci: run stylish haskell on all incoming PRs
### Description

This PR adds two new github actions: one in the OSS repo, one in the monorepo. The OSS action runs `stylish-haskell` on all files touched by the PR, and displays a warning for each file that was in need of a formatting. The monorepo action does the same thing, with a twist: if the branch is not a shadow copy of an OSS branch, we assume that it is a local branch, and simply push a new commit with the changes.

Furthermore, this PR upgrades our stylish-haskell config to add record formatting, as close as possible to our styleguide.

Both actions use the standard stylish-haskell, not our modified fork.

### Known limitation

The monorepo action does not handle forks: pushing to the branch will fail, and checking the branch out might fail too. This is probably acceptable since we don't use forks with the monorepo, but it wouldn't be hard to handle that gracefully.

GitOrigin-RevId: 814138c5b9826098e2e4ea192778fc0d93fbe390
2021-01-21 23:37:26 +00:00
..
bot.gitconfig [skip ci] adds a github action to shadow pull requests 2020-11-25 04:59:42 +00:00
changelog.yml ci: add hlint escape hatch (#71) 2020-12-07 12:10:38 +00:00
copy.bara.sky [skip ci] adds a github action to shadow pull requests 2020-11-25 04:59:42 +00:00
hlint.yml ci: hlint suggestions do not mark the check as failed 2021-01-20 17:50:50 +00:00
lint.yml console: replace remote schema url in tests (#5011) 2020-06-08 17:45:43 +05:30
server-format.yml ci: run stylish haskell on all incoming PRs 2021-01-21 23:37:26 +00:00
shadow-pr.yml includes deleted files while migrating OSS PR 2020-12-23 06:00:17 +00:00