* Used to filter CircleCI PR branches created directly on the amphtml repo * (e.g.) PRs created from the GitHub web UI. Must match `push_builds_only` * in .circleci/config.yml. * @param {string} branchName * @return {boolean}
(branchName)
| 55 | * @return {boolean} |
| 56 | */ |
| 57 | function isCircleciPushBranch(branchName) { |
| 58 | return branchName == 'main' || /^amp-release-.*$/.test(branchName); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Returns true if this is a PR build. |
no test coverage detected