Skip to content

Commit a6af2ea

Browse files
committed
Initial commit
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
0 parents  commit a6af2ea

File tree

165 files changed

+22411
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+22411
-0
lines changed

.dockerignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.git/
2+
# From application/.gitignore
3+
# build output
4+
application/**/dist/
5+
application/**/.output/
6+
7+
# dependencies
8+
application/**/node_modules/
9+
10+
# logs
11+
application/**/npm-debug.log*
12+
application/**/yarn-debug.log*
13+
application/**/yarn-error.log*
14+
application/**/pnpm-debug.log*
15+
16+
17+
# environment variables
18+
application/**/.env
19+
application/**/.env.production
20+
21+
# macOS-specific files
22+
application/**/.DS_Store
23+
24+
application/**/pnpm-lock.yaml
25+
26+
application/**/.astro

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
indent_size = 2
10+
indent_style = space
11+
insert_final_newline = true
12+
trim_trailing_whitespace = false
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report
4+
title: ""
5+
labels: bug, needs triage
6+
assignees: ""
7+
---
8+
9+
<!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 --->
10+
<!--- Before opening up a new bug report, please make sure to check for similar existing issues -->
11+
12+
**Description:** A clear and concise description of what the bug is.
13+
14+
**Action version:** Specify the action version
15+
16+
**Platform:**
17+
18+
- [ ] Ubuntu
19+
- [ ] macOS
20+
- [ ] Windows
21+
22+
**Runner type:**
23+
24+
- [ ] Hosted
25+
- [ ] Self-hosted
26+
27+
**Tools version:**
28+
29+
<!--- Please specify versions of node and package manager (npm, yarn, pnpm and etc)-->
30+
31+
**Repro steps:**
32+
A description with steps to reproduce the issue. If you have a public example or
33+
repository to share, please provide the link.
34+
35+
**Expected behavior:** A description of what you expected to happen.
36+
37+
**Actual behavior:** A description of what is actually happening.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.** A clear and
10+
concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like** A clear and concise description of what you
13+
want to happen.
14+
15+
**Describe alternatives you've considered** A clear and concise description of
16+
any alternative solutions or features you've considered.
17+
18+
**Additional context** Add any other context or screenshots about the feature
19+
request here.

.github/dependabot.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "npm"
5+
open-pull-requests-limit: 20
6+
directory: "/"
7+
versioning-strategy: increase
8+
schedule:
9+
interval: "weekly"
10+
groups:
11+
npm-astro-dependencies:
12+
patterns:
13+
- "@astrojs/*"
14+
- "@astrolib/*"
15+
- "astro"
16+
- "astro-*"
17+
npm-tailwind-dependencies:
18+
patterns:
19+
- "@tailwindcss/*"
20+
- "tailwindcss"
21+
- "tailwind-*"
22+
npm-react-dependencies:
23+
patterns:
24+
- "react"
25+
- "react-*"
26+
npm-fontsource-variable-dependencies:
27+
patterns:
28+
- "@fontsource-variable/*"
29+
npm-development-dependencies:
30+
dependency-type: "development"
31+
32+
- package-ecosystem: github-actions
33+
open-pull-requests-limit: 20
34+
directory: "/"
35+
schedule:
36+
interval: weekly
37+
groups:
38+
github-actions-dependencies:
39+
patterns:
40+
- "*"
41+
42+
- package-ecosystem: "devcontainers"
43+
open-pull-requests-limit: 20
44+
directory: "/"
45+
schedule:
46+
interval: weekly
47+
groups:
48+
devcontainers-dependencies:
49+
patterns:
50+
- "*"

.github/workflows/__shared-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Common Continuous Integration tasks
2+
3+
on:
4+
workflow_call:
5+
6+
permissions:
7+
contents: read
8+
security-events: write
9+
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
10+
id-token: write
11+
12+
jobs:
13+
continuous-integration:
14+
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@5c1010a9146952f724730bf79ba8e2e40ba8e474 # 0.11.0
15+
with:
16+
working-directory: application
17+
test: false
18+
build: |
19+
{
20+
"artifact": ["application/dist"]
21+
}

.github/workflows/greetings.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Greetings
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request_target:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
greetings:
16+
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3

.github/workflows/main-ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Internal - Main - Continuous Integration
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags: ["*"]
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
ci:
14+
uses: ./.github/workflows/__shared-ci.yml
15+
secrets: inherit
16+
permissions:
17+
contents: read
18+
security-events: write
19+
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
20+
id-token: write
21+
22+
deploy:
23+
if: github.ref == 'refs/heads/main'
24+
name: Deploy website
25+
needs: ci
26+
runs-on: ubuntu-latest
27+
permissions:
28+
pages: write
29+
id-token: write
30+
environment:
31+
name: github-pages
32+
url: ${{ steps.deployment.outputs.url }}
33+
steps:
34+
- id: deployment
35+
uses: hoverkraft-tech/ci-github-publish/actions/deploy/github-pages@e38260241de6b96a9f21834ca2d399789013e7ff # 0.5.1
36+
with:
37+
build-assets-path: application/dist
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Need fix to Issue
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
inputs:
9+
#checkov:skip=CKV_GHA_7: required
10+
manual-commit-ref:
11+
description: "The SHA of the commit to get the diff for"
12+
required: true
13+
manual-base-ref:
14+
description:
15+
"By default, the commit entered above is compared to the one directly
16+
before it; to go back further, enter an earlier SHA here"
17+
required: false
18+
19+
permissions:
20+
contents: read
21+
issues: write
22+
23+
jobs:
24+
main:
25+
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
26+
with:
27+
manual-commit-ref: ${{ inputs.manual-commit-ref }}
28+
manual-base-ref: ${{ inputs.manual-base-ref }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Pull request - Continuous Integration
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
branches: [main]
7+
8+
permissions:
9+
contents: read
10+
security-events: write
11+
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
12+
id-token: write
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
ci:
20+
uses: ./.github/workflows/__shared-ci.yml
21+
secrets: inherit

0 commit comments

Comments
 (0)