Skip to content

Commit 2ae1873

Browse files
authored
Merge pull request #407 from sir-gon/develop
Develop
2 parents 66e5d2f + 20402cc commit 2ae1873

File tree

10 files changed

+25
-14
lines changed

10 files changed

+25
-14
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ name: "CodeQL"
1515

1616
on: # yamllint disable-line rule:truthy
1717
push:
18-
branches: ["main", "develop", "feature/*"]
18+
branches: ["main"]
1919
pull_request:
2020
# The branches below must be a subset of the branches above
2121
branches: ["main"]
22+
workflow_dispatch:
2223
schedule:
2324
# ┌───────────── minute (0 - 59)
2425
# │ ┌───────────── hour (0 - 23)

.github/workflows/docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ name: Docker Image CI
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
9+
# The branches below must be a subset of the branches above
910
branches: ["main"]
11+
workflow_dispatch:
1012

1113
env:
1214
IMAGE_NAME: algorithm-exercises-ts

.github/workflows/eslint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ name: ESLint
1212

1313
on: # yamllint disable-line rule:truthy
1414
push:
15-
branches: ["main", "develop"]
15+
branches: ["main"]
1616
pull_request:
1717
# The branches below must be a subset of the branches above
1818
branches: ["main"]
19+
workflow_dispatch:
1920
schedule:
2021
# ┌───────────── minute (0 - 59)
2122
# │ ┌───────────── hour (0 - 23)

.github/workflows/markdown-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ name: Markdown Lint
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
9+
# The branches below must be a subset of the branches above
910
branches: ["main"]
11+
workflow_dispatch:
1012

1113
jobs:
1214
build:

.github/workflows/node-coverage.js.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ name: Node.js CI Coverage
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
9+
# The branches below must be a subset of the branches above
910
branches: ["main"]
11+
workflow_dispatch:
1012

1113
jobs:
1214
build:

.github/workflows/node.js.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ name: Node.js CI Tests
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
9+
# The branches below must be a subset of the branches above
910
branches: ["main"]
11+
workflow_dispatch:
1012

1113
jobs:
1214
build:
13-
1415
runs-on: ubuntu-latest
15-
1616
strategy:
1717
matrix:
1818
os: [

.github/workflows/snyk-code.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
name: Snyk Code analysis
44

55
on: # yamllint disable-line rule:truthy
6-
push:
7-
branches: ["main", "develop", "feature/*"]
86
pull_request:
9-
branches: ["main"]
7+
push:
8+
workflow_dispatch:
109

1110
jobs:
1211
security:

.github/workflows/yamllint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ name: YAML lint
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
9+
# The branches below must be a subset of the branches above
910
branches: ["main"]
11+
workflow_dispatch:
1012

1113
jobs:
1214
lint:

src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/frequency_queries.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('frequency_queries', () => {
2727
TEST_CASES.forEach((value) => {
2828
const answer = freqQuery(value.input);
2929

30-
console.debug(`checkMagazine(${value.input}) solution found: ${answer}`);
30+
console.debug(`freqQuery(${value.input}) solution found: ${answer}`);
3131

3232
expect(answer).toStrictEqual(value.expected);
3333
});

src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/sherlock_and_anagrams.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ describe('sherlock_and_anagrams', () => {
4949
testSet.tests.forEach((test) => {
5050
const answer = sherlockAndAnagrams(test.input);
5151

52-
console.debug(`checkMagazine(${test.input}) solution found: ${answer}`);
52+
console.debug(
53+
`sherlockAndAnagrams(${test.input}) solution found: ${answer}`
54+
);
5355

5456
expect(answer).toStrictEqual(test.expected);
5557
});

0 commit comments

Comments
 (0)