Skip to content

Commit

Permalink
Use c2cciutils - Publish to GitHub Container Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Dec 9, 2020
1 parent 368e628 commit 3fb1277
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:

jobs:
codeql:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Code scanning
timeout-minutes: 15

steps:
- name: Checkout repository
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
jobs:
auto-merge:
name: Auto merge
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 5

steps:
- name: Auto merge
uses: ridedott/dependabot-auto-merge-action@master
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

env:
IN_CI: '1'
SUMMON_PROVIDER: /usr/local/bin/gopass

jobs:
build:
Expand All @@ -21,6 +20,16 @@ jobs:
github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}
patterns: pypi docker

- run: |
sudo rm /etc/apt/sources.list.d/*.list
sudo apt update
sudo apt install --yes python3-wheel python3-setuptools
- run: sudo python3 -m pip install --requirement=ci/requirements.txt

- name: Checks
run: c2cciutils-checks

- name: Pull
run: make pull

Expand Down
15 changes: 15 additions & 0 deletions ci/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version:
branch_to_version_re:
- from: release_([0-9]+)
to: \1
- from: master
to: '5'

checks:
versions: False
editorconfig: False
gitattribute: False
required_workflows: False
codespell: False
isort: False
black: False
1 change: 1 addition & 0 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c2cciutils==1.0.dev20201208090910
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.black]
line-length = 110
target-version = ['py38']

0 comments on commit 3fb1277

Please sign in to comment.