mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
077ff89960
- our use-case for this is to ensure that people don't push to `main` without running linting, as this can block CI from passing until the linting issue is resolved - however, it can become annoying to run linting on non-main branches, especially when you just want to WIP some changes without caring for linting - generally speaking, anyone who creates commits on a non-main branch is going to open them as a PR, so linting is run anyway - this commit get the branch name and only runs linting if we're on `main` |
||
---|---|---|
.. | ||
hooks | ||
ISSUE_TEMPLATE | ||
workflows | ||
AUTO_ASSIGN | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
dev.js | ||
FUNDING.yml | ||
PULL_REQUEST_TEMPLATE.md | ||
SUPPORT.md |