Compare commits
3 Commits
feat/cicd
...
396addc876
Author | SHA1 | Date | |
---|---|---|---|
396addc876 | |||
265390b3ea | |||
dc6562a938 |
1
.gitea/CODEOWNERS
Normal file
1
.gitea/CODEOWNERS
Normal file
@ -0,0 +1 @@
|
||||
* @luke
|
16
.gitea/workflows/conventional_commit.yml
Normal file
16
.gitea/workflows/conventional_commit.yml
Normal file
@ -0,0 +1,16 @@
|
||||
name: Validate PR Title
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
- reopened
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.2.4
|
||||
with:
|
||||
commit-message: ${{ gitea.event.pull_request.title }}
|
39
.github/workflows/ci.yml
vendored
39
.github/workflows/ci.yml
vendored
@ -1,39 +0,0 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths-ignore:
|
||||
- 'renovate.json'
|
||||
- 'CNAME'
|
||||
- '.gitignore'
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install dependencies
|
||||
run: npm install stylelint htmlhint
|
||||
- name: Lint
|
||||
uses: wearerequired/lint-action@v2
|
||||
with:
|
||||
stylelint: true
|
||||
- name: Lint
|
||||
uses: github/super-linter@v4
|
||||
continue-on-error: true
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: true
|
||||
VALIDATE_HTML: true
|
||||
VALIDATE_CSS: true
|
||||
DEFAULT_BRANCH: main
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: SonarCloud Scan
|
||||
uses: SonarSource/sonarcloud-github-action@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
|
@ -47,6 +47,10 @@
|
||||
</noscript>
|
||||
<!-- End Matomo Code -->
|
||||
|
||||
<!-- Medama -->
|
||||
<script defer src="https://medama.tainton.uk/script.js"></script>
|
||||
<!-- End Medama -->
|
||||
|
||||
</head>
|
||||
|
||||
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="300">
|
||||
|
Reference in New Issue
Block a user