Skip to content

Commit d255c9f

Browse files
authored
Update index.js
1 parent 0453fd4 commit d255c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/update-badge/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let octokit
4242
function extractRepositories(lines) {
4343
const repos = []
4444

45-
const validStartLines = ['## JavaScript/TypeScript', '## Python', '## Rust', '## C/C++/C\#']
45+
const validStartLines = ['## PHP', '## JavaScript/TypeScript', '## Python', '## Rust', '## C/C++/C\#']
4646

4747
let collect = false
4848
lines.some((line, index) => {
@@ -92,4 +92,4 @@ function shouldUpdate(oldLine, newLine) {
9292
function otherDomain(line) {
9393
return line.indexOf("gitlab.com") !== -1 ||
9494
line.indexOf("gist.github.com") !== -1;
95-
}
95+
}

0 commit comments

Comments
 (0)