139 Commits

Author SHA1 Message Date
ivuorinen
e1f4ddc7bf Update generated README 2025-01-01 00:18:53 +00:00
ivuorinen
ee0b58e0c9 Update generated README 2024-12-31 00:16:47 +00:00
ivuorinen
f0fad681f9 Update generated README 2024-12-30 00:17:41 +00:00
ivuorinen
a81e2ad827 Update generated README 2024-12-29 00:18:44 +00:00
ivuorinen
47060c6d58 Update generated README 2024-12-28 00:16:30 +00:00
ivuorinen
e25240b333 Update generated README 2024-12-27 00:16:49 +00:00
ivuorinen
8fd69e8a90 Update generated README 2024-12-26 00:16:48 +00:00
ivuorinen
1a6c48827f Update generated README 2024-12-25 00:16:49 +00:00
ivuorinen
21492a3bea Update generated README 2024-12-24 00:17:04 +00:00
ivuorinen
914ecb0c7b Update generated README 2024-12-23 00:17:42 +00:00
ivuorinen
3e101a62b1 Update generated README 2024-12-22 00:18:43 +00:00
ivuorinen
368d0d7849 Update generated README 2024-12-21 00:16:32 +00:00
ivuorinen
0df679daf4 Update generated README 2024-12-20 00:16:57 +00:00
ivuorinen
65c258991c Update generated README 2024-12-19 00:17:56 +00:00
ivuorinen
b8670fdbed Update generated README 2024-12-18 00:17:36 +00:00
ivuorinen
35ef543ef0 Update generated README 2024-12-17 00:18:12 +00:00
ivuorinen
35ba0064d2 Update generated README 2024-12-16 00:19:22 +00:00
ivuorinen
370974010d Update generated README 2024-12-15 00:20:11 +00:00
ivuorinen
9948e9259b Update generated README 2024-12-14 00:17:42 +00:00
ivuorinen
9b6e753557 Update generated README 2024-12-13 00:18:32 +00:00
ivuorinen
935f26128c Update generated README 2024-12-12 00:18:22 +00:00
ivuorinen
04ef0d02cf Update generated README 2024-12-11 00:18:23 +00:00
ivuorinen
5edd38a003 Update generated README 2024-12-10 00:18:39 +00:00
ivuorinen
1fbd3c37a0 Update generated README 2024-12-09 00:19:07 +00:00
ivuorinen
d1f49649b3 Update generated README 2024-12-08 00:19:52 +00:00
ivuorinen
215b33960a Update generated README 2024-12-07 00:17:55 +00:00
ivuorinen
7adee9ec9c Update generated README 2024-12-06 00:18:26 +00:00
ivuorinen
a391980d48 Update generated README 2024-12-05 00:18:24 +00:00
ivuorinen
411fa6a8b6 Update generated README 2024-12-04 00:18:22 +00:00
ivuorinen
94aa55b14f Update generated README 2024-12-03 22:10:28 +00:00
renovate[bot]
21d6183b8a chore(deps): update node.js to v22.12.0 (#12) 2024-12-04 00:10:09 +02:00
ivuorinen
73e7f4cb06 Update generated README 2024-12-03 00:19:13 +00:00
ivuorinen
b3ae82f4ae Update generated README 2024-12-02 00:18:59 +00:00
ivuorinen
058ec4efc9 Update generated README 2024-12-01 00:21:47 +00:00
ivuorinen
1c29a16fd8 Update generated README 2024-11-30 00:17:34 +00:00
ivuorinen
db21cf522f Update generated README 2024-11-29 00:17:59 +00:00
ivuorinen
305a964ab0 Update generated README 2024-11-28 00:18:02 +00:00
ivuorinen
7619e4c373 Update generated README 2024-11-27 00:17:59 +00:00
ivuorinen
524f61005b Update generated README 2024-11-26 00:17:54 +00:00
ivuorinen
9899dd3ff1 Update generated README 2024-11-25 00:18:19 +00:00
ivuorinen
051f632870 Update generated README 2024-11-24 00:19:03 +00:00
ivuorinen
6a50fa574a Update generated README 2024-11-23 00:17:12 +00:00
ivuorinen
b43de1ef4c Update generated README 2024-11-22 00:18:12 +00:00
ivuorinen
3d0be7afc3 Update generated README 2024-11-21 00:17:43 +00:00
ivuorinen
aa43739f5c Update generated README 2024-11-20 00:17:28 +00:00
ivuorinen
ba27c6d4a0 Update generated README 2024-11-19 00:17:38 +00:00
ivuorinen
c33b1b9de2 Update generated README 2024-11-18 00:18:19 +00:00
ivuorinen
2bcc71a2e5 Update generated README 2024-11-17 00:18:53 +00:00
ivuorinen
9f6be757d7 Update generated README 2024-11-16 00:17:25 +00:00
ivuorinen
9625d6ac83 Update generated README 2024-11-15 00:17:40 +00:00
ivuorinen
3561b2e39c Update generated README 2024-11-14 00:16:39 +00:00
ivuorinen
0d2c0ec59a Update generated README 2024-11-13 00:16:37 +00:00
ivuorinen
de250ad382 Update generated README 2024-11-12 00:16:23 +00:00
ivuorinen
53ec2a00db Update generated README 2024-11-11 00:17:05 +00:00
ivuorinen
d57c9756fe Update generated README 2024-11-10 00:17:54 +00:00
ivuorinen
0112d2279b Update generated README 2024-11-09 00:16:20 +00:00
ivuorinen
3f2c933ef3 Update generated README 2024-11-08 00:16:26 +00:00
ivuorinen
80ec9de3bb Update generated README 2024-11-07 00:16:42 +00:00
ivuorinen
a967bd1aa4 Update generated README 2024-11-06 00:16:25 +00:00
ivuorinen
02a95e9e14 Update generated README 2024-11-05 00:16:33 +00:00
ivuorinen
20234fa84e Update generated README 2024-11-04 00:17:29 +00:00
ivuorinen
3530dca32e Update generated README 2024-11-03 00:18:28 +00:00
ivuorinen
78b65584fe Update generated README 2024-11-02 00:16:25 +00:00
ivuorinen
e171fbd41d Update generated README 2024-11-01 19:37:59 +00:00
renovate[bot]
d33725e83b chore(deps): update node to v22.11.0 (#11) 2024-11-01 21:37:42 +02:00
ivuorinen
4f478ce4c8 Update generated README 2024-11-01 00:18:49 +00:00
ivuorinen
e964ad1f70 Update generated README 2024-10-31 00:17:06 +00:00
ivuorinen
f9f8fe9954 Update generated README 2024-10-30 00:16:53 +00:00
ivuorinen
df0f5fcd54 Update generated README 2024-10-29 00:17:13 +00:00
ivuorinen
fc36ca6ab9 Update generated README 2024-10-28 00:17:55 +00:00
ivuorinen
6d7265aa3c Update generated README 2024-10-27 00:18:19 +00:00
ivuorinen
e05e3d0046 Update generated README 2024-10-26 00:16:20 +00:00
ivuorinen
010b4b6f88 Update generated README 2024-10-25 00:16:55 +00:00
ivuorinen
2b3cc14533 Update generated README 2024-10-24 00:16:48 +00:00
ivuorinen
430ed74a0c Update generated README 2024-10-23 00:16:40 +00:00
ivuorinen
abb51f5a72 Update generated README 2024-10-22 00:16:52 +00:00
ivuorinen
953d706618 Update generated README 2024-10-21 00:17:26 +00:00
ivuorinen
1c43df01a5 Update generated README 2024-10-20 00:18:20 +00:00
ivuorinen
a1e65f0d79 Update generated README 2024-10-19 00:16:18 +00:00
ivuorinen
acb44f3a31 Update generated README 2024-10-18 06:27:50 +00:00
renovate[bot]
e691022ed8 chore(deps): update node to v22.10.0 (#10) 2024-10-18 09:27:34 +03:00
ivuorinen
03183be910 Update generated README 2024-10-18 00:16:25 +00:00
ivuorinen
4952127ca3 Update generated README 2024-10-17 00:16:35 +00:00
ivuorinen
ab7ed72a8d Update generated README 2024-10-16 00:16:37 +00:00
ivuorinen
bd01600f95 Update generated README 2024-10-15 00:16:48 +00:00
ivuorinen
11907f66c3 Update generated README 2024-10-14 00:17:31 +00:00
ivuorinen
bac5a7b9c6 Update generated README 2024-10-13 00:18:08 +00:00
ivuorinen
839872c93b Update generated README 2024-10-12 00:15:57 +00:00
ivuorinen
58491e4194 Update generated README 2024-10-11 00:16:16 +00:00
ivuorinen
5178aeb242 Update generated README 2024-10-10 00:16:16 +00:00
ivuorinen
89458c1a30 Update generated README 2024-10-09 11:18:36 +00:00
Ismo Vuorinen
f8810dbcfa feat: support dark mode 2024-10-09 14:18:01 +03:00
ivuorinen
b05abf9494 Update generated README 2024-10-09 00:16:36 +00:00
ivuorinen
1c470281d8 Update generated README 2024-10-08 00:16:18 +00:00
ivuorinen
640a6704ad Update generated README 2024-10-07 00:17:26 +00:00
ivuorinen
58cbc70a72 Update generated README 2024-10-06 00:17:58 +00:00
ivuorinen
d5d615b5b4 Update generated README 2024-10-05 00:16:26 +00:00
ivuorinen
c63026feea Update generated README 2024-10-04 00:16:23 +00:00
ivuorinen
3efe210626 Update generated README 2024-10-03 00:16:31 +00:00
ivuorinen
01eaaf49b0 Update generated README 2024-10-02 00:16:29 +00:00
ivuorinen
a9ba5d6c47 Update generated README 2024-10-01 00:18:34 +00:00
ivuorinen
53567e28c3 Update generated README 2024-09-30 19:06:41 +00:00
Ismo Vuorinen
351ff05f3d fix: add README and allow workflow_call 2024-09-30 22:06:19 +03:00
ivuorinen
c8f38ea0bc Update generated README 2024-09-30 00:17:16 +00:00
ivuorinen
de2a4fbda8 Update generated README 2024-09-29 00:18:19 +00:00
ivuorinen
68b3cb77bd Update generated README 2024-09-28 00:16:20 +00:00
ivuorinen
598865d940 Update generated README 2024-09-27 00:16:38 +00:00
ivuorinen
b7e5783ae2 Update generated README 2024-09-26 00:16:14 +00:00
ivuorinen
e6df4256ee Update generated README 2024-09-25 00:16:32 +00:00
ivuorinen
6f583049f8 Update generated README 2024-09-24 00:16:30 +00:00
ivuorinen
35802f6021 Update generated README 2024-09-23 00:16:44 +00:00
ivuorinen
4eaeaa856b Update generated README 2024-09-22 00:17:53 +00:00
ivuorinen
388b1c331c Update generated README 2024-09-21 00:15:45 +00:00
ivuorinen
e67b184d11 Update generated README 2024-09-20 00:16:09 +00:00
ivuorinen
2121ad5568 Update generated README 2024-09-19 00:15:56 +00:00
ivuorinen
6070ee470d Update generated README 2024-09-18 00:15:46 +00:00
ivuorinen
9bbc46e1b0 Update generated README 2024-09-17 23:42:01 +00:00
renovate[bot]
f111628e90 chore(deps): update node to v22.9.0 (#9)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 02:41:41 +03:00
ivuorinen
3bf12063e6 Update generated README 2024-09-17 00:13:25 +00:00
ivuorinen
fdaf07c3af Update generated README 2024-09-16 08:59:04 +00:00
Ismo Vuorinen
630108dc90 feat(workflow): update workflows, fix superlinter config (#8)
* chore(workflow): tweaks & moved .jscpd to root
* chore(config): add .checkov.yaml
* feat(lint): add @ivuorinen/base-configs, fix lints
* chore(lint): fix lint errors
* chore(lint): increase md max_line_length to 1000
* chore(workflows): run reviewdog on pull_request
* feat(config): add actrc for nektosact.com
* feat(lint): textlint configuration
* chore(lint): disable json and natural language
2024-09-16 11:58:42 +03:00
ivuorinen
057363b231 Update generated README 2024-09-16 00:16:45 +00:00
ivuorinen
3a4dfcd406 Update generated README 2024-09-15 00:17:42 +00:00
ivuorinen
5e9fbb719c Update generated README 2024-09-14 00:15:20 +00:00
ivuorinen
6ab67ee300 Update generated README 2024-09-13 00:15:48 +00:00
ivuorinen
523ef1ca2d Update generated README 2024-09-12 00:16:00 +00:00
ivuorinen
03bd0ad890 Update generated README 2024-09-11 00:15:28 +00:00
ivuorinen
3e40bfa0db Update generated README 2024-09-10 00:15:48 +00:00
ivuorinen
6ef57b05f7 Update generated README 2024-09-09 00:16:38 +00:00
ivuorinen
92e353f331 Update generated README 2024-09-08 00:17:31 +00:00
ivuorinen
3c50f77abc Update generated README 2024-09-07 00:15:07 +00:00
36783b7f8c chore(workflows): add github-workflow scheme 2024-09-07 00:53:56 +03:00
ivuorinen
00bbd9a564 Update generated README 2024-09-06 00:15:34 +00:00
ivuorinen
028c3f45f6 Update generated README 2024-09-05 00:15:20 +00:00
ivuorinen
9549f9ca2e Update generated README 2024-09-04 00:15:25 +00:00
ivuorinen
aa48b5fd51 Update generated README 2024-09-03 20:54:01 +00:00
renovate[bot]
87d47ebbca feat(github-action)!: Update peter-evans/create-pull-request ( v6 → v7 ) (#7) 2024-09-03 23:53:45 +03:00
ivuorinen
5f9ddcd939 Update generated README 2024-09-03 00:15:16 +00:00
ivuorinen
f4f92641d1 Update generated README 2024-09-02 00:16:10 +00:00
36 changed files with 17619 additions and 193 deletions

5
.actrc Normal file
View File

@@ -0,0 +1,5 @@
--container-architecture=linux/amd64
--secret GITHUB_TOKEN=$(gh auth token)
--var GITHUB_SHA=$(git rev-parse --short main)
--var DOCKER_HOST=$(docker context inspect --format '{{.Endpoints.docker.Host}}')
--action-offline-mode

2
.browserslistrc Normal file
View File

@@ -0,0 +1,2 @@
extends @ivuorinen/browserslist-config

2
.checkov.yaml Normal file
View File

@@ -0,0 +1,2 @@
skip-check:
- CKV2_GHA_1

3
.commitlintrc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": ["@ivuorinen/commitlint-config"]
}

View File

@@ -42,4 +42,4 @@ tab_width = 4
tab_width = 4
[{*.md,.github/workflows/*.yml}]
max_line_length = 300
max_line_length = 1000

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use asdf

188
.github/labels.yml vendored
View File

@@ -1,164 +1,164 @@
---
- name: "breaking-change"
- name: 'breaking-change'
color: ee0701
description: "A breaking change for existing users."
- name: "bugfix"
description: 'A breaking change for existing users.'
- name: 'bugfix'
color: ee0701
description: "Inconsistencies or issues which will cause a problem for users or implementors."
- name: "documentation"
description: 'Inconsistencies or issues which will cause a problem for users or implementors.'
- name: 'documentation'
color: 0052cc
description: "Solely about the documentation of the project."
- name: "enhancement"
description: 'Solely about the documentation of the project.'
- name: 'enhancement'
color: 1d76db
description: "Enhancement of the code, not introducing new features."
- name: "refactor"
description: 'Enhancement of the code, not introducing new features.'
- name: 'refactor'
color: 1d76db
description: "Improvement of existing code, not introducing new features."
- name: "performance"
description: 'Improvement of existing code, not introducing new features.'
- name: 'performance'
color: 1d76db
description: "Improving performance, not introducing new features."
- name: "new-feature"
description: 'Improving performance, not introducing new features.'
- name: 'new-feature'
color: 0e8a16
description: "New features or options."
- name: "maintenance"
description: 'New features or options.'
- name: 'maintenance'
color: 2af79e
description: "Generic maintenance tasks."
- name: "ci"
description: 'Generic maintenance tasks.'
- name: 'ci'
color: 1d76db
description: "Work that improves the continue integration."
- name: "dependencies"
description: 'Work that improves the continue integration.'
- name: 'dependencies'
color: 1d76db
description: "Upgrade or downgrade of project dependencies."
- name: "translations"
description: 'Upgrade or downgrade of project dependencies.'
- name: 'translations'
color: d4c5f9
description: "Impacts translations."
description: 'Impacts translations.'
- name: "in-progress"
- name: 'in-progress'
color: fbca04
description: "Issue is currently being resolved by a developer."
- name: "stale"
description: 'Issue is currently being resolved by a developer.'
- name: 'stale'
color: fef2c0
description: "There has not been activity on this issue or PR for quite some time."
- name: "no-stale"
description: 'There has not been activity on this issue or PR for quite some time.'
- name: 'no-stale'
color: fef2c0
description: "This issue or PR is exempted from the stable bot."
description: 'This issue or PR is exempted from the stable bot.'
- name: "security"
- name: 'security'
color: ee0701
description: "Marks a security issue that needs to be resolved asap."
- name: "incomplete"
description: 'Marks a security issue that needs to be resolved asap.'
- name: 'incomplete'
color: fef2c0
description: "Marks a PR or issue that is missing information."
- name: "invalid"
description: 'Marks a PR or issue that is missing information.'
- name: 'invalid'
color: fef2c0
description: "Marks a PR or issue that is missing information."
description: 'Marks a PR or issue that is missing information.'
- name: "beginner-friendly"
- name: 'beginner-friendly'
color: 0e8a16
description: "Good first issue for people wanting to contribute to the project."
- name: "help-wanted"
description: 'Good first issue for people wanting to contribute to the project.'
- name: 'help-wanted'
color: 0e8a16
description: "We need some extra helping hands or expertise in order to resolve this."
description: 'We need some extra helping hands or expertise in order to resolve this.'
- name: "hacktoberfest"
description: "Issues/PRs are participating in the Hacktoberfest."
- name: 'hacktoberfest'
description: 'Issues/PRs are participating in the Hacktoberfest.'
color: fbca04
- name: "hacktoberfest-accepted"
description: "Issues/PRs are participating in the Hacktoberfest."
- name: 'hacktoberfest-accepted'
description: 'Issues/PRs are participating in the Hacktoberfest.'
color: fbca04
- name: "priority-critical"
- name: 'priority-critical'
color: ee0701
description: "This should be dealt with ASAP. Not fixing this issue would be a serious error."
- name: "priority-high"
description: 'This should be dealt with ASAP. Not fixing this issue would be a serious error.'
- name: 'priority-high'
color: b60205
description: "After critical issues are fixed, these should be dealt with before any further issues."
- name: "priority-medium"
description: 'After critical issues are fixed, these should be dealt with before any further issues.'
- name: 'priority-medium'
color: 0e8a16
description: "This issue may be useful, and needs some attention."
- name: "priority-low"
description: 'This issue may be useful, and needs some attention.'
- name: 'priority-low'
color: e4ea8a
description: "Nice addition, maybe... someday..."
description: 'Nice addition, maybe... someday...'
- name: "major"
- name: 'major'
color: b60205
description: "This PR causes a major version bump in the version number."
- name: "minor"
description: 'This PR causes a major version bump in the version number.'
- name: 'minor'
color: 0e8a16
description: "This PR causes a minor version bump in the version number."
description: 'This PR causes a minor version bump in the version number.'
# Areas
- name: area/ansible
color: "0e8a16"
color: '0e8a16'
- name: area/docs
color: "0e8a16"
color: '0e8a16'
- name: area/github
color: "0e8a16"
color: '0e8a16'
- name: area/kubernetes
color: "0e8a16"
color: '0e8a16'
- name: area/taskfile
color: "0e8a16"
color: '0e8a16'
- name: area/terraform
color: "0e8a16"
color: '0e8a16'
# Clusters
- name: cluster/main
color: "ffc300"
color: 'ffc300'
- name: cluster/storage
color: "ffc300"
color: 'ffc300'
# Renovate Types
- name: renovate/ansible
color: "027fa0"
color: '027fa0'
- name: renovate/container
color: "027fa0"
color: '027fa0'
- name: renovate/github-action
color: "027fa0"
color: '027fa0'
- name: renovate/grafana-dashboard
color: "027fa0"
color: '027fa0'
- name: renovate/github-release
color: "027fa0"
color: '027fa0'
- name: renovate/helm
color: "027fa0"
color: '027fa0'
- name: renovate/terraform
color: "027fa0"
color: '027fa0'
# Semantic Types
- name: type/digest
color: "ffeC19"
color: 'ffeC19'
- name: type/patch
color: "ffeC19"
color: 'ffeC19'
- name: type/minor
color: "ff9800"
color: 'ff9800'
- name: type/major
color: "f6412d"
color: 'f6412d'
# Uncategorized
- name: community
color: "370fb2"
color: '370fb2'
- name: hold
color: "ee0701"
color: 'ee0701'
## more info https://github.com/crazy-max/ghaction-github-labeler
- # automerge
name: ":bell: automerge"
color: "8f4fbc"
description: ""
name: ':bell: automerge'
color: '8f4fbc'
description: ''
- # bot
name: ":robot: bot"
color: "69cde9"
description: ""
name: ':robot: bot'
color: '69cde9'
description: ''
- # bug
name: ":bug: bug"
color: "b60205"
description: ""
name: ':bug: bug'
color: 'b60205'
description: ''
- # documentation
name: ":memo: documentation"
color: "c5def5"
description: ""
name: ':memo: documentation'
color: 'c5def5'
description: ''
- # duplicate
name: ":busts_in_silhouette: duplicate"
color: "cccccc"
description: ""
name: ':busts_in_silhouette: duplicate'
color: 'cccccc'
description: ''
- # enhancement
name: ":sparkles: enhancement"
color: "0054ca"
description: ""
name: ':sparkles: enhancement'
color: '0054ca'
description: ''
- # feature request
name: ":bulb: feature request"
name: ':bulb: feature request'

View File

@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>ivuorinen/renovate-config"
]
"extends": ["github>ivuorinen/renovate-config"]
}

40
.github/workflows/README.md vendored Normal file
View File

@@ -0,0 +1,40 @@
# .github
My Shared GitHub Actions & Configurations.
## Actions
Actions should be linked using the `uses` keyword.
Read more from the Reusing workflows article [Calling a reusable workflow][reusable] and [jobs.<job_id>.steps[\*].uses][jobs] configuration documentation.
```yml
jobs:
CompressImages:
uses: ivuorinen/.github/workflows/compress-images.yml
ReusableMatrixJobForComposerInstall:
strategy:
matrix:
target: ['8.0', '8.1', '8.2', '8.3']
uses: ivuorinen/.github/workflows/composer-install.yml@main
with:
php-versions: ${{ matrix.target }}
```
## Misc configurations
### Renovate config
Go through [the onboarding process][onboarding] and save the following snippet as `.github/renovate.json`.
```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>ivuorinen/renovate-config"]
}
```
[reusable]: https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
[jobs]: https://docs.github.com/en/actions/using-workflows/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses
[onboarding]: https://docs.renovatebot.com/getting-started/installing-onboarding

View File

@@ -1,14 +1,14 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Run Composer Install
on:
workflow_dispatch:
workflow_call:
pull_request:
paths:
- "composer.json"
- "composer.lock"
permissions: read-all
- 'composer.json'
- 'composer.lock'
jobs:
ComposerInstall:
@@ -20,8 +20,8 @@ jobs:
strategy:
matrix:
operating-system: ["ubuntu-latest"]
php: ["8.0", "8.1", "8.2", "8.3", "8.4"]
operating-system: ['ubuntu-latest']
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4

View File

@@ -1,14 +1,15 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
#
# Compress images on demand (workflow_dispatch), and at 11pm every Sunday (schedule).
# Open a Pull Request if any images can be compressed.
name: Compress Images on Demand
on:
workflow_dispatch:
workflow_call:
schedule:
- cron: "00 23 * * 0"
permissions: read-all
- cron: '00 23 * * 0'
jobs:
CompressOnDemandOrSchedule:
@@ -34,7 +35,7 @@ jobs:
- name: Create New Pull Request If Needed
if: steps.calibre.outputs.markdown != ''
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
title: Compressed Images Nightly
branch-suffix: timestamp

View File

@@ -1,4 +1,6 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
#
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request,
@@ -8,11 +10,9 @@
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "Dependency Review"
name: 'Dependency Review'
on: [pull_request]
permissions: read-all
on: [pull_request, workflow_call]
jobs:
dependency-review:
@@ -20,8 +20,8 @@ jobs:
permissions:
contents: read
steps:
- name: "Checkout Repository"
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: "Dependency Review"
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4

View File

@@ -1,14 +1,15 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: labels
on:
push:
branches:
- "main"
- 'main'
paths:
- ".github/labels.yml"
- ".github/workflows/labels.yml"
permissions: read-all
- '.github/labels.yml'
- '.github/workflows/labels.yml'
workflow_call:
jobs:
labeler:

View File

@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Laravel Setup and Composer test
on:
@@ -6,8 +7,7 @@ on:
branches: [main]
pull_request:
branches: [main]
permissions: read-all
workflow_call:
jobs:
laravel-tests:
@@ -20,15 +20,15 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
php-version: '8.4'
- uses: actions/checkout@v4
- name: "Check file existence"
- name: 'Check file existence'
id: check_files
uses: andstor/file-existence-action@v3
with:
files: "package.json, artisan"
files: 'package.json, artisan'
- name: Copy .env
if: steps.check_files.outputs.files_exists == 'true'

View File

@@ -1,17 +1,17 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Compress Images
on:
workflow_call:
pull_request:
# Run Image Actions when JPG, JPEG, PNG or WebP files are added or changed.
# See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths for reference.
paths:
- "**.jpg"
- "**.jpeg"
- "**.png"
- "**.webp"
permissions: read-all
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
CompressInPR:

View File

@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
#################################
#################################
## Super Linter GitHub Actions ##
@@ -18,12 +19,9 @@ env:
# Start the job on all push #
#############################
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
permissions: read-all
workflow_call:
###############
# Set the Job #
@@ -57,18 +55,38 @@ jobs:
# list of changed files within `super-linter`
fetch-depth: 0
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Cache Node Modules
uses: actions/cache@v4.0.2
id: cache
with:
path: node_modules
key: node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install npm packages
run: npm install
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v7
uses: super-linter/super-linter/slim@v7
env:
VALIDATE_ALL_CODEBASE: false
LINTER_RULES_PATH: '${DEFAULT_WORKSPACE}'
VALIDATE_JSON: false # doesn't handle new config format
VALIDATE_NATURAL_LANGUAGE: false # doesn't seem to respect configs
FIX_ANSIBLE: true
FIX_ENV: true
FIX_JSON: true
FIX_JSON_PRETTIER: true
FIX_JSONC_PRETTIER: true
FIX_MARKDOWN: true
FIX_SHELL_SHFMT: true
FIX_TYPESCRIPT_PRETTIER: true
# Change to 'master' if your main branch differs
DEFAULT_BRANCH: ${{ env.MAIN_BRANCH }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,12 +1,15 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: readme-scribe
on:
workflow_dispatch:
workflow_call:
schedule:
- cron: "0 0 */1 * *"
- cron: '0 0 */1 * *'
push:
branches:
- "main"
- 'main'
permissions:
contents: write
@@ -27,7 +30,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
- uses: stefanzweifel/git-auto-commit-action@v5.0.1
with:
commit_message: "Update generated README"
commit_message: 'Update generated README'
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,11 +1,10 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release Drafter
on:
workflow_call:
permissions: read-all
jobs:
update_release_draft:
name: ✏️ Draft release

View File

@@ -1,13 +1,12 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Release"
name: 'Release'
on:
workflow_dispatch:
workflow_call:
schedule:
- cron: "0 0 1 * *" # 1st of every month at midnight
permissions: read-all
- cron: '0 0 1 * *' # 1st of every month at midnight
jobs:
release:
@@ -22,7 +21,7 @@ jobs:
- name: Create Release
shell: bash
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
# Retrieve previous release tag
previous_tag="$(gh release list --limit 1 | awk '{ print $1 }')"

View File

@@ -1,9 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Reviewdog Linters
on: [push]
permissions: read-all
on: [pull_request, workflow_call]
jobs:
linters:

View File

@@ -1,14 +1,13 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Stale
on:
schedule:
- cron: "0 8 * * *"
- cron: '0 8 * * *'
workflow_call:
workflow_dispatch:
permissions: read-all
jobs:
stale:
name: 🧹 Clean up stale issues and PRs
@@ -27,22 +26,14 @@ jobs:
days-before-stale: 30
days-before-close: 7
remove-stale-when-updated: true
stale-issue-label: "stale"
exempt-issue-labels: "no-stale,help-wanted"
stale-issue-label: 'stale'
exempt-issue-labels: 'no-stale,help-wanted'
stale-issue-message: >
There hasn't been any activity on this issue recently, so we
clean up some of the older and inactive issues.
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Please make sure to update to the latest version and
check if that solves the issue. Let us know if that works for you
by leaving a comment 👍
This issue has now been marked as stale and will be closed if no
further activity occurs. Thanks!
stale-pr-label: "stale"
exempt-pr-labels: "no-stale"
stale-pr-label: 'stale'
exempt-pr-labels: 'no-stale'
stale-pr-message: >
There hasn't been any activity on this pull request recently. This
pull request has been automatically marked as stale because of that
and will be closed if no further activity occurs within 7 days.
Thank you for your contributions.
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

View File

@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Sync labels to other repositories
on:
@@ -9,10 +10,9 @@ on:
- .github/labels.yml
- .github/workflows/sync-labels-to-own-projects.yml
workflow_dispatch:
workflow_call:
schedule:
- cron: "0 0 * * *" # Every day at midnight
permissions: read-all
- cron: '0 0 * * *' # Every day at midnight
jobs:
sync-labels:

View File

@@ -9,12 +9,10 @@ on:
paths:
- .github/labels.yml
schedule:
- cron: "34 5 * * *"
- cron: '34 5 * * *'
workflow_call:
workflow_dispatch:
permissions: read-all
jobs:
labels:
name: ♻️ Sync labels

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@
/.idea
/*.iml
node_modules

4
.markdownlint.json Normal file
View File

@@ -0,0 +1,4 @@
{
"extends": "@ivuorinen/markdownlint-config",
"max_line_length": 120
}

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
22.12.0

29
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: check-case-conflict
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=auto]
- id: pretty-format-json
args: [--autofix, --no-sort-keys]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
hooks:
- id: markdownlint
args: [-c, .markdownlint.json, --fix]
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint

1
.prettierrc.json Normal file
View File

@@ -0,0 +1 @@
"@ivuorinen/prettier-config"

3
.releaserc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": ["@ivuorinen/semantic-release-config"]
}

0
.yamlignore Normal file
View File

View File

@@ -1,3 +1,4 @@
### Hi there 👋
My name is Ismo Vuorinen, and I work as a software developer in Finland.
@@ -7,36 +8,45 @@ I'm also a huge fan of open-source, and I try to contribute back to the communit
#### 👷 Check out what I'm currently working on
- [ivuorinen/.github](https://github.com/ivuorinen/.github) - My GitHub Shared Configurations. (1 day ago)
- [ivuorinen/cheatsheet-tldr](https://github.com/ivuorinen/cheatsheet-tldr) - tldr-pages/tldr pages for cheat/cheat (1 day ago)
- [ivuorinen/starred](https://github.com/ivuorinen/starred) - Automatically updated list of my starred repos. (2 days ago)
- [ivuorinen/dotfiles](https://github.com/ivuorinen/dotfiles) - These are my dotfiles. There are many like &#39;em, but these are mine. (3 days ago)
- [ivuorinen/base-configs](https://github.com/ivuorinen/base-configs) - A collection of base configs for code quality and linting tools. Heavily based on `@demartini/base-configs` (4 days ago)
- [ivuorinen/starred](https://github.com/ivuorinen/starred) - Automatically updated list of my starred repos. (1 day ago)
- [ivuorinen/dotfiles](https://github.com/ivuorinen/dotfiles) - These are my dotfiles. There are many like &#39;em, but these are mine. (2 days ago)
- [ivuorinen/uptime](https://github.com/ivuorinen/uptime) - Public uptime checker for some of my sites (1 week ago)
- [ivuorinen/sysvinit-service-generator](https://github.com/ivuorinen/sysvinit-service-generator) - Vue 3 app for creating sysvinit service scripts (1 week ago)
#### 👨‍💻 Repositories I created recently
- [ivuorinen/nvm-auto-use](https://github.com/ivuorinen/nvm-auto-use) - Automatically install node version based on .nvmrc, and use it
- [ivuorinen/uptime](https://github.com/ivuorinen/uptime) - Public uptime checker for some of my sites
- [ivuorinen/f2b](https://github.com/ivuorinen/f2b) - fail2ban shorthand wrapper for the usual actions one would take, written in bash
- [ivuorinen/business-data-fetcher](https://github.com/ivuorinen/business-data-fetcher) - PHP composer package API client to Finnish Patent and Registration Office&#39;s (PRH) Business Information System (BIS).
- [ivuorinen/renovate-config](https://github.com/ivuorinen/renovate-config)
- [ivuorinen/docker-elk](https://github.com/ivuorinen/docker-elk) - Preconfigured Security, Tools, and Self-Monitoring
- [ivuorinen/docker-xmrig](https://github.com/ivuorinen/docker-xmrig) - This is a simple miner that uses the xmrig miner to mine Monero.
#### 🚀 Latest releases I've contributed to
- [ivuorinen/dotfiles](https://github.com/ivuorinen/dotfiles) ([24.8.29](https://github.com/ivuorinen/dotfiles/releases/tag/24.8.29), 3 days ago) - These are my dotfiles. There are many like &#39;em, but these are mine.
- [ivuorinen/base-configs](https://github.com/ivuorinen/base-configs) ([@ivuorinen/base-configs@2.0.2](https://github.com/ivuorinen/base-configs/releases/tag/%40ivuorinen/base-configs%402.0.2), 4 days ago) - A collection of base configs for code quality and linting tools. Heavily based on `@demartini/base-configs`
- [ivuorinen/business-data-fetcher](https://github.com/ivuorinen/business-data-fetcher) ([v1.1.1](https://github.com/ivuorinen/business-data-fetcher/releases/tag/v1.1.1), 1 week ago) - PHP composer package API client to Finnish Patent and Registration Office&#39;s (PRH) Business Information System (BIS).
- [ivuorinen/docker-xmrig](https://github.com/ivuorinen/docker-xmrig) ([6.22.0-2024-08-12](https://github.com/ivuorinen/docker-xmrig/releases/tag/6.22.0-2024-08-12), 2 weeks ago) - This is a simple miner that uses the xmrig miner to mine Monero.
- [ivuorinen/.github](https://github.com/ivuorinen/.github) ([2024.8.0](https://github.com/ivuorinen/.github/releases/tag/2024.8.0), 1 month ago) - My GitHub Shared Configurations.
- [ivuorinen/dotfiles](https://github.com/ivuorinen/dotfiles) ([24.12.30](https://github.com/ivuorinen/dotfiles/releases/tag/24.12.30), 2 days ago) - These are my dotfiles. There are many like &#39;em, but these are mine.
- [ivuorinen/base-configs](https://github.com/ivuorinen/base-configs) ([@ivuorinen/browserslist-config@0.4.3](https://github.com/ivuorinen/base-configs/releases/tag/%40ivuorinen/browserslist-config%400.4.3), 2 weeks ago) - A collection of base configs for code quality and linting tools. Heavily based on `@demartini/base-configs`
- [ivuorinen/ivuorinen](https://github.com/ivuorinen/ivuorinen) ([2024.12.0](https://github.com/ivuorinen/ivuorinen/releases/tag/2024.12.0), 1 month ago) - My special github profile header
- [ivuorinen/.github](https://github.com/ivuorinen/.github) ([2024.12.0](https://github.com/ivuorinen/.github/releases/tag/2024.12.0), 1 month ago) - My GitHub Shared Configurations.
- [ivuorinen/branch-usage-checker](https://github.com/ivuorinen/branch-usage-checker) ([0.1.1](https://github.com/ivuorinen/branch-usage-checker/releases/tag/0.1.1), 1 month ago) - Cross-check project public GitHub Branches and Packagist branch download statistics to determine are branches safe to delete
#### ⭐ Recent Stars
- [antfu/eslint-config](https://github.com/antfu/eslint-config) - Anthony&#39;s ESLint config preset (4 days ago)
- [micromatch/micromatch](https://github.com/micromatch/micromatch) - Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by square, webpack, babel core, yarn, jest, ract-native, taro, bulma, browser-sync, stylelint, nyc, ava, and many others! Follow micromatch&#39;s author: https://github.com/jonschlinkert (1 week ago)
- [MichaelAquilina/zsh-autoswitch-virtualenv](https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv) - 🐍 ZSH plugin to automatically switch python virtualenvs (including pipenv and poetry) as you move between directories (1 week ago)
- [CorentinTh/it-tools](https://github.com/CorentinTh/it-tools) - Collection of handy online tools for developers, with great UX. (1 week ago)
- [nette/php-generator](https://github.com/nette/php-generator) - 🐘 Generates neat PHP code for you. Supports new PHP 8.3 features. (1 week ago)
- [ghostty-org/ghostty](https://github.com/ghostty-org/ghostty) - 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. (2 days ago)
- [ZeroQI/YouTube-Agent.bundle](https://github.com/ZeroQI/YouTube-Agent.bundle) - Plex Metadata Agent for Movies and TV Series libraries (3 days ago)
- [dotnet/cli-lab](https://github.com/dotnet/cli-lab) - A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain. (5 days ago)
- [sabre-io/vobject](https://github.com/sabre-io/vobject) - :date: The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects (5 days ago)
- [ProtonMail/gluon](https://github.com/ProtonMail/gluon) - An IMAP server library written in Go (5 days ago)
<picture>
<source srcset="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/overview.svg#gh-dark-mode-only" media="(prefers-color-scheme: dark)" />
<img src="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/overview.svg#gh-light-mode-only" alt="Overview of my activity" />
</picture>
<picture>
<source srcset="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/languages.svg#gh-dark-mode-only" media="(prefers-color-scheme: dark)" />
<img src="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/languages.svg#gh-light-mode-only" alt="Languages I have been using" />
</picture>
![Overview of my activity](https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/overview.svg)
![Languages I have been using](https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/languages.svg)

12
eslint.config.mjs Normal file
View File

@@ -0,0 +1,12 @@
import ivuorinenConfig from '@ivuorinen/eslint-config'
export default [
...ivuorinenConfig,
// your modifications
{
rules: {
// "no-unused-vars": "warn"
}
}
]

17260
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

35
package.json Normal file
View File

@@ -0,0 +1,35 @@
{
"name": "@ivuorinen/ivuorinen",
"version": "1.0.0",
"description": "My GitHub Profile Readme",
"private": true,
"main": "index.js",
"author": "Ismo Vuorinen",
"license": "MIT",
"scripts": {
"lint": "eslint .",
"textlint": "textlint -f pretty-error README.md",
"textlint:ci": "textlint -f checkstyle README.md",
"textlint:fix": "textlint --fix README.md",
"format": "prettier --write .",
"lint:fix": "eslint . --fix"
},
"devDependencies": {
"@ivuorinen/base-configs": "^2.0.2",
"eslint-plugin-prettier": "^5.2.1",
"textlint": "^14.2.0",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-no-todo": "^2.0.1"
},
"textlint": {
"plugins": {
"@textlint/markdown": true
},
"filters": {
"comments": true
},
"rules": {
"no-todo": true
}
}
}

View File

@@ -1,3 +1,4 @@
<!-- markdownlint-disable MD041 -->
### Hi there 👋
My name is Ismo Vuorinen, and I work as a software developer in Finland.
@@ -25,6 +26,15 @@ I'm also a huge fan of open-source, and I try to contribute back to the communit
- [{{.Repo.Name}}]({{.Repo.URL}}) - {{.Repo.Description}} ({{humanize .StarredAt}})
{{- end}}
![Overview of my activity](https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/overview.svg)
![Languages I have been using](https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/languages.svg)
<!-- textlint-disable -->
<picture>
<source srcset="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/overview.svg#gh-dark-mode-only" media="(prefers-color-scheme: dark)" />
<img src="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/overview.svg#gh-light-mode-only" alt="Overview of my activity" />
</picture>
<picture>
<source srcset="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/languages.svg#gh-dark-mode-only" media="(prefers-color-scheme: dark)" />
<img src="https://raw.githubusercontent.com/ivuorinen/github-stats/master/generated/languages.svg#gh-light-mode-only" alt="Languages I have been using" />
</picture>
<!-- textlint-enable -->