Skip to content

Commit 94e8de6

Browse files
authored
Merge pull request #464 from felddy/dependabot/github_actions/github-actions-all-e487a0a50c
Bump the github-actions-all group across 1 directory with 13 updates
2 parents 58c0a13 + a7e9fa8 commit 94e8de6

File tree

11 files changed

+155
-93
lines changed

11 files changed

+155
-93
lines changed

.github/workflows/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ on:
3939
jobs:
4040
csv-to-json:
4141
name: "Convert CSV to JSON"
42-
uses: felddy/reusable-workflows/.github/workflows/csv-to-json.yml@v2
42+
uses: felddy/reusable-workflows/.github/workflows/csv-to-json.yml@v3
4343
with:
4444
csv: ${{ inputs.platforms }}

.github/workflows/build.yml

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Build
43

54
on:
@@ -12,7 +11,7 @@ on:
1211
release:
1312
types: [edited, published]
1413
schedule:
15-
- cron: '0 10 * * *' # everyday at 10am
14+
- cron: "0 10 * * *" # everyday at 10am
1615
workflow_dispatch:
1716
inputs:
1817
dispatch-tag:
@@ -27,7 +26,7 @@ permissions:
2726
jobs:
2827
diagnostics:
2928
name: "Diagnostics"
30-
uses: felddy/reusable-workflows/.github/workflows/diagnostics.yml@v2
29+
uses: felddy/reusable-workflows/.github/workflows/diagnostics.yml@v3
3130

3231
config:
3332
name: "Config"
@@ -36,7 +35,7 @@ jobs:
3635
metadata:
3736
name: "Metadata"
3837
needs: [config]
39-
uses: felddy/reusable-workflows/.github/workflows/docker-metadata.yml@v2
38+
uses: felddy/reusable-workflows/.github/workflows/container-metadata.yml@v3
4039
with:
4140
image_name: ${{ needs.config.outputs.image_name }}
4241

@@ -60,15 +59,15 @@ jobs:
6059
lint:
6160
name: "Lint"
6261
needs: [config]
63-
uses: felddy/reusable-workflows/.github/workflows/common-lint.yml@v2
62+
uses: felddy/reusable-workflows/.github/workflows/common-lint.yml@v3
6463

65-
build-test-image:
66-
name: "Build test image"
64+
build-test-container:
65+
name: "Build container for testing"
6766
needs:
6867
- config
6968
- lint
7069
- metadata
71-
uses: felddy/reusable-workflows/.github/workflows/docker-build-image.yml@v2
70+
uses: felddy/reusable-workflows/.github/workflows/container-build.yml@v3
7271
with:
7372
artifact_name: ${{ needs.config.outputs.image_artifact_name_stem }}-${{ needs.config.outputs.test_platform }}
7473
build_arg_1_name: VERSION
@@ -80,32 +79,32 @@ jobs:
8079
secrets:
8180
build_arg_1_value: ${{ needs.metadata.outputs.source_version }}
8281

83-
test-normal-image:
82+
test-normal-container:
8483
name: "Test image"
8584
needs:
86-
- build-test-image
85+
- build-test-container
8786
- config
88-
uses: felddy/reusable-workflows/.github/workflows/docker-pytest-image.yml@v2
87+
uses: felddy/reusable-workflows/.github/workflows/container-test.yml@v3
8988
with:
9089
data_artifact_name: ${{ needs.config.outputs.data_artifact_name }}
9190
data_artifact_path: ${{ needs.config.outputs.data_artifact_path }}
92-
image_artifact_name: ${{ needs.build-test-image.outputs.artifact_name }}
93-
image_archive_name: ${{ needs.build-test-image.outputs.image_archive_name }}
91+
image_artifact_name: ${{ needs.build-test-container.outputs.artifact_name }}
92+
image_archive_name: ${{ needs.build-test-container.outputs.image_archive_name }}
9493

9594
build-each-platform:
96-
name: "Build platform"
95+
name: "Build container"
9796
needs:
9897
- config
9998
- lint
10099
- metadata
101-
- test-normal-image
100+
- test-normal-container
102101
if: github.event_name != 'pull_request'
103102
strategy:
104103
matrix:
105104
platform: ${{ fromJson(needs.config.outputs.platforms_json) }}
106105
exclude:
107106
- platform: ${{ needs.config.outputs.test_platform }}
108-
uses: felddy/reusable-workflows/.github/workflows/docker-build-image.yml@v2
107+
uses: felddy/reusable-workflows/.github/workflows/container-build.yml@v3
109108
with:
110109
artifact_name: ${{ needs.config.outputs.image_artifact_name_stem }}-${{ matrix.platform }}
111110
build_arg_1_name: VERSION
@@ -127,13 +126,13 @@ jobs:
127126
strategy:
128127
matrix:
129128
platform: ${{ fromJson(needs.config.outputs.platforms_json) }}
130-
uses: felddy/reusable-workflows/.github/workflows/sbom-artifact.yml@v2
129+
uses: felddy/reusable-workflows/.github/workflows/container-sbom.yml@v3
131130
with:
132131
image_artifact_name: ${{ needs.config.outputs.image_artifact_name_stem }}-${{ matrix.platform }}
133132
sbom_artifact_name: ${{ needs.config.outputs.sbom_artifact_name_stem }}-${{ matrix.platform }}
134133

135134
build-multi-arch-image:
136-
name: "Publish image"
135+
name: "Publish container"
137136
needs:
138137
- build-each-platform
139138
- config
@@ -142,23 +141,40 @@ jobs:
142141
if: github.event_name != 'pull_request'
143142
permissions:
144143
packages: write
145-
uses: felddy/reusable-workflows/.github/workflows/docker-multi-arch-push.yml@v2
144+
uses: felddy/reusable-workflows/.github/workflows/container-publish-multiarch.yml@v3
146145
with:
147146
artifact_name_pattern: ${{ needs.config.outputs.image_artifact_name_stem }}-*
148147
image_tags: ${{ needs.metadata.outputs.image_tags }}
148+
149+
mirror-to-dockerhub:
150+
name: Mirror images to DockerHub
151+
needs:
152+
- build-multi-arch-image
153+
- config
154+
- docker-secrets
155+
- metadata
156+
if: github.event_name == 'release' && !github.event.release.prerelease
157+
permissions:
158+
contents: read
159+
packages: read
160+
uses: felddy/reusable-workflows/.github/workflows/container-mirror.yml@v3
161+
with:
162+
image_name: ${{ needs.config.outputs.image_name }}
163+
image_tag_names: ${{ needs.metadata.outputs.image_tag_names }}
164+
target_registry: docker.io
149165
secrets:
150-
docker_password: ${{ secrets.DOCKER_PASSWORD }}
151-
docker_username: ${{ secrets.DOCKER_USERNAME }}
166+
registry_password: ${{ secrets.DOCKER_PASSWORD }}
167+
registry_username: ${{ secrets.DOCKER_USERNAME }}
152168

153169
publish-readme:
154-
name: "Publish docs"
170+
name: Publish docs to DockerHub
155171
needs:
156172
- build-multi-arch-image
157173
- config
158174
- docker-secrets
159175
- metadata
160-
if: needs.metadata.outputs.latest == 'true'
161-
uses: felddy/reusable-workflows/.github/workflows/docker-publish-description.yml@v2
176+
if: github.event_name == 'release' && needs.metadata.outputs.latest == 'true'
177+
uses: felddy/reusable-workflows/.github/workflows/dockerhub-description.yml@v3
162178
with:
163179
image_name: ${{ needs.config.outputs.image_name }}
164180
secrets:

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ jobs:
4545

4646
steps:
4747
- name: Harden Runner
48-
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # tag=v2.13.3
48+
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # tag=v2.14.0
4949
with:
5050
# TODO: change to 'egress-policy: block' after couple of runs
5151
egress-policy: audit
5252

5353
- name: Checkout repository
54-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0
54+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v6.0.1
5555

5656
# Initializes the CodeQL tools for scanning.
5757
- name: Initialize CodeQL
58-
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # tag=codeql-bundle-v4.31.6
58+
uses: github/codeql-action/init@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # tag=codeql-bundle-v4.31.7
5959
with:
6060
languages: ${{ matrix.language }}
6161

@@ -65,7 +65,7 @@ jobs:
6565
# manually (see below).
6666
# manually (see below).
6767
- name: Autobuild
68-
uses: github/codeql-action/autobuild@fe4161a26a8629af62121b670040955b330f9af2 # tag=codeql-bundle-v4.31.6
68+
uses: github/codeql-action/autobuild@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # tag=codeql-bundle-v4.31.7
6969

7070
# ℹ️ Command-line programs to run using the OS shell. 📚
7171
# https://git.io/JvXDl
@@ -83,4 +83,4 @@ jobs:
8383
# make release
8484

8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # tag=codeql-bundle-v4.31.6
86+
uses: github/codeql-action/analyze@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # tag=codeql-bundle-v4.31.7

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Harden Runner
15-
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # tag=v2.13.3
15+
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # tag=v2.14.0
1616
with: # TODO: change to 'egress-policy: block' after couple of runs
1717
egress-policy: audit
1818
- name: 'Checkout Repository'
19-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0
19+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v6.0.1
2020
- name: 'Dependency Review'
2121
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # tag=v4.8.2

.github/workflows/scorecards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: "Checkout code"
31-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0
31+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v6.0.1
3232
with:
3333
persist-credentials: false
3434

@@ -60,6 +60,6 @@ jobs:
6060

6161
# Upload the results to GitHub's code scanning dashboard.
6262
- name: "Upload to code-scanning"
63-
uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # tag=codeql-bundle-v4.31.6
63+
uses: github/codeql-action/upload-sarif@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # tag=codeql-bundle-v4.31.7
6464
with:
6565
sarif_file: results.sarif

.github/workflows/stale-issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Harden Runner
17-
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # tag=v2.13.3
17+
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # tag=v2.14.0
1818
with:
1919
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
2020

21-
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # tag=v10.1.0
21+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # tag=v10.1.1
2222
with:
2323
days-before-stale: 28
2424
days-before-close: 7

.github/workflows/sync-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Harden Runner
23-
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # tag=v2.13.3
23+
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # tag=v2.14.0
2424
with:
2525
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
26-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0
26+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v6.0.1
2727
- name: Sync repository labels
2828
if: success()
2929
uses: crazy-max/ghaction-github-labeler@24d110aa46a59976b8a7f35518cb7f14f434c916 # tag=v5.3.0

.mdl_config.yaml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
---
2-
32
# Default state for all rules
43
default: true
54

65
# MD003/heading-style/header-style - Heading style
76
MD003:
87
# Enforce the ATX-closed style of header
9-
style: "atx_closed"
8+
style: atx_closed
109

1110
# MD004/ul-style - Unordered list style
1211
MD004:
1312
# Enforce dashes for unordered lists
14-
style: "dash"
13+
style: dash
1514

1615
# MD013/line-length - Line length
1716
MD013:
@@ -30,11 +29,11 @@ MD024:
3029
# MD029/ol-prefix - Ordered list item prefix
3130
MD029:
3231
# Enforce the `1.` style for ordered lists
33-
style: "one"
32+
style: one
3433

3534
# MD033/no-inline-html - Inline HTML
3635
MD033:
37-
# The h1 and img elements are allowed to permit header images
36+
# The div, h1 and img elements are allowed to permit header images
3837
allowed_elements:
3938
- div
4039
- h1
@@ -43,19 +42,30 @@ MD033:
4342
# MD035/hr-style - Horizontal rule style
4443
MD035:
4544
# Enforce dashes for horizontal rules
46-
style: "---"
45+
style: ---
46+
47+
# MD041/first-line-heading/first-line-h1 - First line in file should be a top
48+
# level heading
49+
MD041:
50+
# Allow content before first heading
51+
allow_preamble: true
4752

4853
# MD046/code-block-style - Code block style
4954
MD046:
5055
# Enforce the fenced style for code blocks
51-
style: "fenced"
56+
style: fenced
5257

5358
# MD049/emphasis-style - Emphasis style should be consistent
5459
MD049:
5560
# Enforce asterisks as the style to use for emphasis
56-
style: "asterisk"
61+
style: asterisk
5762

5863
# MD050/strong-style - Strong style should be consistent
5964
MD050:
6065
# Enforce asterisks as the style to use for strong
61-
style: "asterisk"
66+
style: asterisk
67+
68+
# MD060/table-column-style
69+
MD060:
70+
# Allow tables to use different styles
71+
style: any

0 commit comments

Comments
 (0)