-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github-actions): Change behavior to not add "renovate" to inline…
… yaml comments when pinning (#14110)
- Loading branch information
1 parent
27afe43
commit 5d419a1
Showing
4 changed files
with
57 additions
and
10 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 |
---|---|---|
|
@@ -20,3 +20,18 @@ jobs: | |
- uses: docker/setup-qemu-action@c308fdd69d26ed66f4506ebd74b180abe5362145 | ||
- name: Build | ||
uses: docker/build-push-action@v2 | ||
rustfmt: | ||
name: Run Rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # tag=v2.4.0 | ||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # renovate: tag=v1.0.7 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: rustfmt | ||
override: true | ||
- uses: actions-rs/[email protected] | ||
with: | ||
command: fmt | ||
args: --all -- --check |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
exports[`manager/github-actions/extract extractPackageFile() extracts multiple action tag lines from yaml configuration file 1`] = ` | ||
Array [ | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}/shellcheck@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}/shellcheck@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentValue": "master", | ||
"datasource": "github-tags", | ||
|
@@ -14,7 +14,7 @@ Array [ | |
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentDigest": "c308fdd69d26ed66f4506ebd74b180abe5362145", | ||
"currentValue": "v1.1.0", | ||
|
@@ -25,7 +25,7 @@ Array [ | |
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentValue": "1.0.0", | ||
"datasource": "github-tags", | ||
|
@@ -35,7 +35,7 @@ Array [ | |
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentDigest": "c308fdd69d26ed66f4506ebd74b180abe5362145", | ||
"currentValue": undefined, | ||
|
@@ -46,7 +46,7 @@ Array [ | |
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentValue": "v2", | ||
"datasource": "github-tags", | ||
|
@@ -55,13 +55,45 @@ Array [ | |
"replaceString": "docker/build-push-action@v2", | ||
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentDigest": "ec3a7ce113134d7a93b817d10a8272cb61118579", | ||
"currentValue": "v2.4.0", | ||
"datasource": "github-tags", | ||
"depName": "actions/checkout", | ||
"depType": "action", | ||
"replaceString": "actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # tag=v2.4.0", | ||
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentDigest": "16499b5e05bf2e26879000db0c1d13f7e13fa3af", | ||
"currentValue": "v1.0.7", | ||
"datasource": "github-tags", | ||
"depName": "actions-rs/toolchain", | ||
"depType": "action", | ||
"replaceString": "actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # renovate: tag=v1.0.7", | ||
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentValue": "v1.0.3", | ||
"datasource": "github-tags", | ||
"depName": "actions-rs/cargo", | ||
"depType": "action", | ||
"replaceString": "actions-rs/[email protected]", | ||
"versioning": "docker", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`manager/github-actions/extract extractPackageFile() extracts multiple docker image lines from yaml configuration file 1`] = ` | ||
Array [ | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}/shellcheck@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}/shellcheck@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentValue": "master", | ||
"datasource": "github-tags", | ||
|
@@ -82,7 +114,7 @@ Array [ | |
"versioning": "docker", | ||
}, | ||
Object { | ||
"autoReplaceStringTemplate": "{{depName}}/cli@{{#if newDigest}}{{newDigest}}{{#if newValue}} # renovate: tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"autoReplaceStringTemplate": "{{depName}}/cli@{{#if newDigest}}{{newDigest}}{{#if newValue}} # tag={{newValue}}{{/if}}{{/if}}{{#unless newDigest}}{{newValue}}{{/unless}}", | ||
"commitMessageTopic": "{{{depName}}} action", | ||
"currentValue": "master", | ||
"datasource": "github-tags", | ||
|
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
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