Skip to content

Commit d615138

Browse files
feat: improve workflow linting and update workflow files
1 parent 6617196 commit d615138

11 files changed

Lines changed: 438 additions & 228 deletions

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# Include
55
!Dockerfile
6-
!entrypoint.sh
76
!LICENSE
87
!README.md
8+
!entrypoint.sh
9+
!pip

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# EditorConfig helps developers define and maintain consistent coding styles
21
root = true
32

43
[*]

.github/workflows/auto-pull-request-create.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: (Auto) Pull Request Create
1+
name: (Automatic) Pull Request Create
22

33
on:
44
push:
55
branches-ignore:
66
- master
77
- main
8+
- release/**
89
- dependabot/**
910

1011
permissions:
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: (Automatic) Release Create
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
workflow_dispatch:
9+
inputs:
10+
release_branch:
11+
description: Release branch to publish from (e.g. release/v1.3.0)
12+
required: false
13+
default: ''
14+
type: string
15+
release_version:
16+
description: Explicit release version override (e.g. v1.3.0)
17+
required: false
18+
default: ''
19+
type: string
20+
21+
permissions:
22+
contents: write
23+
pull-requests: read
24+
25+
jobs:
26+
call:
27+
uses: devops-infra/.github/.github/workflows/reusable-auto-release-create.yml@v1
28+
with:
29+
profile: actions
30+
release-branch: ${{ inputs.release_branch }}
31+
release-version: ${{ inputs.release_version }}
32+
secrets: inherit

.github/workflows/manual-release-create.yml renamed to .github/workflows/manual-release-branch-prepare.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: (Manual) Release Create
1+
name: (Manual) Release Branch Prepare
22

33
on:
44
workflow_dispatch:
@@ -30,7 +30,7 @@ permissions:
3030

3131
jobs:
3232
call:
33-
uses: devops-infra/.github/.github/workflows/reusable-manual-release-create.yml@v1
33+
uses: devops-infra/.github/.github/workflows/reusable-manual-release-branch-prepare.yml@v1
3434
with:
3535
bump-type: ${{ inputs.type }}
3636
explicit-version: ${{ inputs.version }}

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Intellij
2-
/.idea/
2+
.idea/
33
*.iml
44

55
# Custom
6+
.DS_Store
67
.tmp/
78
.venv
89
.venv/
910
.envrc
1011
.env
1112
.tmp
13+
14+
# Python
15+
build/
16+
dist/
17+
*.egg-info/
18+
*.pyc
19+
__py

.yamllint.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ extends: default
22
rules:
33
empty-lines:
44
max: 2
5+
max-end: 1
56
document-end:
67
present: false
78
document-start:
@@ -11,14 +12,12 @@ rules:
1112
indent-sequences: true
1213
check-multi-line-strings: false
1314
line-length:
14-
max: 140
15+
max: 220
1516
allow-non-breakable-inline-mappings: true
1617
new-line-at-end-of-file: enable
1718
new-lines:
1819
type: unix
19-
quoted-strings:
20-
required: only-when-needed
21-
extra-allowed: ['true', 'false']
20+
quoted-strings: disable
2221
trailing-spaces: {}
2322
truthy:
2423
allowed-values: ['true', 'false', 'yes', 'no']

0 commit comments

Comments
 (0)