Update tokens, formatting (#43)
This commit is contained in:
parent
28fc3413a5
commit
de0583d6c9
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -1,15 +1,15 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- "README.md"
|
||||||
- 'LICENSE.md'
|
- "LICENSE.md"
|
||||||
- '.gitignore'
|
- ".gitignore"
|
||||||
- 'CODEOWNERS'
|
- "CODEOWNERS"
|
||||||
- 'renovate.json'
|
- "renovate.json"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
|
22
.github/workflows/docker.yml
vendored
22
.github/workflows/docker.yml
vendored
@ -1,19 +1,19 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: GitHub Container Registry
|
name: GitHub Container Registry
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Login to GitHub Container Registry
|
- 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
|
- 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
|
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
|
- name: Push image to GitHub Package Registry
|
||||||
run: |
|
run: |
|
||||||
docker push ghcr.io/luketainton/roboluke-tasks:latest
|
docker push ghcr.io/luketainton/roboluke-tasks:latest
|
||||||
docker push ghcr.io/luketainton/roboluke-tasks:${{ github.sha }}
|
docker push ghcr.io/luketainton/roboluke-tasks:${{ github.sha }}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,26 +1,42 @@
|
|||||||
{
|
{
|
||||||
"extends": ["config:base"],
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
],
|
||||||
"platformCommit": true,
|
"platformCommit": true,
|
||||||
"dependencyDashboardAutoclose": true,
|
"dependencyDashboardAutoclose": true,
|
||||||
"assignAutomerge": true,
|
"assignAutomerge": true,
|
||||||
"assigneesFromCodeOwners": true,
|
"assigneesFromCodeOwners": true,
|
||||||
"rebaseWhen": "behind-base-branch",
|
"rebaseWhen": "behind-base-branch",
|
||||||
"rollbackPrs": true,
|
"rollbackPrs": true,
|
||||||
"labels": ["dependencies"],
|
"labels": [
|
||||||
|
"dependencies"
|
||||||
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["black", "pylint"],
|
"matchPackagePatterns": [
|
||||||
"labels": ["linting"]
|
"black",
|
||||||
|
"pylint"
|
||||||
|
],
|
||||||
|
"labels": [
|
||||||
|
"linting"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["coverage", "pytest"],
|
"matchPackagePatterns": [
|
||||||
"labels": ["unit-tests"]
|
"coverage",
|
||||||
|
"pytest"
|
||||||
|
],
|
||||||
|
"labels": [
|
||||||
|
"unit-tests"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"vulnerabilityAlerts": {
|
"vulnerabilityAlerts": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"labels": ["security"],
|
"labels": [
|
||||||
|
"security"
|
||||||
|
],
|
||||||
"commitMessagePrefix": "[SECURITY] ",
|
"commitMessagePrefix": "[SECURITY] ",
|
||||||
"prCreation": "immediate"
|
"prCreation": "immediate"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user