|
Ran
|
Jobs
1
|
Files
1
|
Run time
1min
|
Badge
README BADGES
|
push
github
[Copyright] ci: Add the copyright header check (#98) # Description ESLint holds a TypeScript file to the copyright header through the local `copyright-header` rule. The rule runs over the source and the test trees only, so a build configuration file outside them has no mechanism that reads its header. A tool that selects a file by extension also goes green on a file type nobody taught it about, so a gap does not report itself. This pull request adds the shared copyright header check that `valkyrjaio/.github` released. The check is closed by default. It reads every tracked file, and it requires the header in each file that `EXCLUDED` does not match. A new file therefore fails the check until a person adds the header, or adds the file to `EXCLUDED`. The check found no file that lacks the header. It verifies 6 files: the three TypeScript and JavaScript files, the two build configuration files under `.github/ci/`, and the new config file itself. This repository scaffolds every new TypeScript repository, so a repository that starts from it now inherits the check and the config. The job runs on a pull request only, and it stands outside the `source-paths` filter that the `tools` job derives. A filter that misses a path skips the job, and a skipped job reads the same as a clean run. The job pins `6452916b1`, which is the tip of `26.x` in `valkyrjaio/.github`. The other reusable workflows in this file pin the v26.21.0 commit. The check needs the newer commit, because v26.21.0 gave the block comment form to a PHP file only, and this repository holds files that write the header between `/*` and `*/`. The ref update job aligns every pin at the next release. `valkyrjaio/valkyrja-php#1123` is the reference consumer, and this pull request copies its shape. ## Types of changes - [x] Improvement _(non-breaking change which improves code)_ - [ ] Bug fix _(non-breaking change which fixes an issue)_ - [ ] New feature _(non-breaki... (continued)
2 of 2 relevant lines covered (100.0%)
1.0 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 30778542119.1 | 1 |
100.0 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|