Update tokens, formatting (#43)

This commit is contained in:
Luke Tainton 2023-06-04 10:24:27 +01:00 committed by GitHub
parent 28fc3413a5
commit de0583d6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 26 deletions

View File

@ -5,11 +5,11 @@ on:
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'README.md'
- 'LICENSE.md'
- '.gitignore'
- 'CODEOWNERS'
- 'renovate.json'
- "README.md"
- "LICENSE.md"
- ".gitignore"
- "CODEOWNERS"
- "renovate.json"
jobs:
ci:

View File

@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
run: echo ${{ secrets.PAT }} | docker login ghcr.io -u luketainton --password-stdin
run: echo ${{ secrets.GHCR_ACCESS_TOKEN }} | docker login ghcr.io -u luketainton --password-stdin
- name: Build image for GitHub Package Registry
run: docker build . --file Dockerfile --tag ghcr.io/luketainton/roboluke-tasks:${{ github.sha }} --tag ghcr.io/luketainton/roboluke-tasks:latest
- name: Push image to GitHub Package Registry

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
import os

View File

@ -1,25 +1,41 @@
{
"extends": ["config:base"],
"extends": [
"config:base"
],
"platformCommit": true,
"dependencyDashboardAutoclose": true,
"assignAutomerge": true,
"assigneesFromCodeOwners": true,
"rebaseWhen": "behind-base-branch",
"rollbackPrs": true,
"labels": ["dependencies"],
"labels": [
"dependencies"
],
"packageRules": [
{
"matchPackagePatterns": ["black", "pylint"],
"labels": ["linting"]
"matchPackagePatterns": [
"black",
"pylint"
],
"labels": [
"linting"
]
},
{
"matchPackagePatterns": ["coverage", "pytest"],
"labels": ["unit-tests"]
"matchPackagePatterns": [
"coverage",
"pytest"
],
"labels": [
"unit-tests"
]
}
],
"vulnerabilityAlerts": {
"enabled": true,
"labels": ["security"],
"labels": [
"security"
],
"commitMessagePrefix": "[SECURITY] ",
"prCreation": "immediate"
}