Compare commits

..

1 Commits

3 changed files with 25 additions and 45 deletions

View File

@@ -7,26 +7,26 @@ on:
- cron: "@weekly" - cron: "@weekly"
jobs: jobs:
# sonar: sonar:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - name: Check out repository code - name: Check out repository code
# uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
# with: with:
# fetch-depth: 0 fetch-depth: 0
# - uses: hadolint/hadolint-action@v3.1.0 - uses: hadolint/hadolint-action@v3.1.0
# with: with:
# dockerfile: Dockerfile dockerfile: Dockerfile
# output-file: hadolint.out output-file: hadolint.out
# format: sonarqube format: sonarqube
# no-fail: true no-fail: true
# - name: SonarQube Scan - name: SonarQube Scan
# uses: SonarSource/sonarqube-scan-action@v5.2.0 uses: SonarSource/sonarqube-scan-action@v5.0.0
# env: env:
# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
# SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }} SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -42,7 +42,7 @@ jobs:
echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json echo "{\"insecure-registries\": [\"${{ vars.PACKAGES_REGISTRY_URL }}\"]}" > /etc/docker/daemon.json
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v6.0.2 uses: actions/checkout@v4.2.2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3

View File

@@ -1,18 +1,11 @@
FROM gitea/runner-images:ubuntu-24.04 FROM gitea/runner-images:ubuntu-latest
LABEL maintainer="Luke Tainton <luke@tainton.uk>" LABEL maintainer="Luke Tainton <luke@tainton.uk>"
ENV PIPX_BIN_DIR=/usr/local/bin ENV PIPX_BIN_DIR=/usr/local/bin
RUN wget -q -O- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && \ RUN apt-get update && \
export NVM_DIR="$HOME/.nvm" && \ apt-get install -y pipx && \
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" && \
nvm install 24 && \
add-apt-repository ppa:longsleep/golang-backports && \
add-apt-repository ppa:git-core/ppa && \
apt-get update && \
apt-get install -y golang-go pipx git && \
apt-get clean && \ apt-get clean && \
pipx install poetry && \ pipx install poetry && \
pipx install uv pipx install uv

View File

@@ -7,13 +7,10 @@
], ],
"platformCommit": "enabled", "platformCommit": "enabled",
"dependencyDashboardAutoclose": true, "dependencyDashboardAutoclose": true,
"assignAutomerge": false, "assignAutomerge": true,
"assigneesFromCodeOwners": false, "assigneesFromCodeOwners": true,
"rebaseWhen": "behind-base-branch", "rebaseWhen": "behind-base-branch",
"rollbackPrs": true, "rollbackPrs": true,
"semanticCommits": "enabled",
"semanticCommitScope": "deps",
"semanticCommitType": "feat",
"labels": [ "labels": [
"type/dependencies" "type/dependencies"
], ],
@@ -25,15 +22,5 @@
], ],
"commitMessagePrefix": "[SECURITY] ", "commitMessagePrefix": "[SECURITY] ",
"prCreation": "immediate" "prCreation": "immediate"
}, }
"packageRules": [
{
"matchDepTypes": ["devDependencies"],
"automerge": true
},
{
"matchUpdateTypes": ["patch"],
"automerge": true
}
]
} }