-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(updatecli): add manifest for tools/hadolint & tools/shellcheck (#…
- Loading branch information
1 parent
bed10d6
commit a04c1f4
Showing
2 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: Bump hadolint version | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
user: "{{ .github.user }}" | ||
email: "{{ .github.email }}" | ||
owner: "{{ .github.owner }}" | ||
repository: "{{ .github.repository }}" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
branch: "{{ .github.branch }}" | ||
|
||
sources: | ||
lastReleaseVersion: | ||
kind: githubrelease | ||
name: Get the latest hadolint release version | ||
spec: | ||
owner: "hadolint" | ||
repository: "hadolint" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
versionfilter: | ||
kind: semver | ||
transformers: | ||
- trimprefix: v | ||
|
||
targets: | ||
updateVersion: | ||
name: "Update the `hadolint` version in the tools/hadolint script" | ||
sourceid: lastReleaseVersion | ||
kind: file | ||
spec: | ||
file: "tools/hadolint" | ||
matchpattern: "ghcr.io/hadolint/hadolint:v(.*)-debian" | ||
content: 'ghcr.io/hadolint/hadolint:v{{ source `lastReleaseVersion` }}-debian' | ||
scmid: default | ||
|
||
actions: | ||
default: | ||
kind: github/pullrequest | ||
title: Bump `hadolint` version to {{ source "lastReleaseVersion" }} | ||
scmid: default | ||
spec: | ||
labels: | ||
- dependencies | ||
- hadolint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: Bump shellcheck version | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
user: "{{ .github.user }}" | ||
email: "{{ .github.email }}" | ||
owner: "{{ .github.owner }}" | ||
repository: "{{ .github.repository }}" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
branch: "{{ .github.branch }}" | ||
|
||
sources: | ||
lastReleaseVersion: | ||
kind: githubrelease | ||
name: Get the latest shellcheck release version | ||
spec: | ||
owner: "koalaman" | ||
repository: "shellcheck" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
versionfilter: | ||
kind: semver | ||
transformers: | ||
- trimprefix: v | ||
|
||
targets: | ||
updateVersion: | ||
name: "Update the `shellcheck` version in the tools/shellcheck script" | ||
sourceid: lastReleaseVersion | ||
kind: file | ||
spec: | ||
file: "tools/shellcheck" | ||
matchpattern: "koalaman/shellcheck:v(.*) " | ||
content: 'koalaman/shellcheck:v{{ source `lastReleaseVersion` }} ' | ||
scmid: default | ||
|
||
actions: | ||
default: | ||
kind: github/pullrequest | ||
title: Bump `shellcheck` version to {{ source "lastReleaseVersion" }} | ||
scmid: default | ||
spec: | ||
labels: | ||
- dependencies | ||
- shellcheck |