Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate repochecker into portal #81

Merged
merged 3 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/express/backend"
schedule:
interval: daily
time: "04:00"
timezone: Europe/Berlin
allow:
- dependency-name: "@iobroker/create-adapter"
dependency-type: "all"
- dependency-name: "@iobroker/repochecker"
dependency-type: "all"
open-pull-requests-limit: 20
assignees:
- UncleSamSwiss
versioning-strategy: increase

- package-ecosystem: npm
directory: "/express/frontend"
schedule:
interval: daily
time: "04:00"
timezone: Europe/Berlin
allow:
- dependency-name: "@iobroker/create-adapter"
dependency-type: "all"
open-pull-requests-limit: 20
assignees:
- UncleSamSwiss
versioning-strategy: increase
62 changes: 31 additions & 31 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "51 13 * * 1"
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "51 13 * * 1"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ javascript ]
strategy:
fail-fast: false
matrix:
language: [javascript]

steps:
- name: Checkout
uses: actions/checkout@v3
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
56 changes: 28 additions & 28 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: Publish Docker Image

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
docker:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
docker:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Write Git Info to Code
run: |
echo "export const GIT_COMMIT = \"$(git rev-parse --short HEAD)\", GIT_BRANCH = \"$(git branch --show-current)\";" > express/backend/src/version.ts
echo "export const GIT_COMMIT = \"$(git rev-parse --short HEAD)\", GIT_BRANCH = \"$(git branch --show-current)\";" > express/frontend/src/version.ts
- name: Write Git Info to Code
run: |
echo "export const GIT_COMMIT = \"$(git rev-parse --short HEAD)\", GIT_BRANCH = \"$(git branch --show-current)\";" > express/backend/src/version.ts
echo "export const GIT_COMMIT = \"$(git rev-parse --short HEAD)\", GIT_BRANCH = \"$(git branch --show-current)\";" > express/frontend/src/version.ts

- name: Build and push
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: iobroker/dev-portal/express
path: ./express
tag_with_ref: true
tag_with_sha: true
- name: Build and push
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: iobroker/dev-portal/express
path: ./express
tag_with_ref: true
tag_with_sha: true
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package.json
package-lock.json
**/build/
.github/**/*.yml
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source.organizeImports": "explicit"
}
},
"cSpell.words": ["iobroker", "Weblate"],
"cSpell.words": ["iobroker", "repochecker", "Weblate"],
"editor.foldingImportsByDefault": true,
"editor.pasteAs.preferences": ["text.updateImports"]
}
Loading
Loading