Skip to content

Commit d66c191

Browse files
authored
fix: typos asset url (#150)
Signed-off-by: Olivier Vernin <olivier@vernin.me>
1 parent 40db494 commit d66c191

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 0.1.1
4+
5+
* Fix asset URL
6+
37
## 0.1.0
48

59
* Initial release

updatecli/policies/typos/githubaction/Policy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ documentation: "https://github.com/updatecli/policies/tree/main/updatecli/polici
1515
source: "https://github.com/updatecli/policies/tree/main/updatecli/policies/typos/githubaction/"
1616

1717
# Version: policy version (prefer semver, e.g. 1.0.0). Recommended.
18-
version: 0.1.0
18+
version: 0.1.1
1919

2020
# Vendor: organization or maintainer (optional).
2121
vendor: Updatecli Project

updatecli/policies/typos/githubaction/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ scm:
5050
limit: 0 # 0 = no limit
5151

5252
# Optional: Override pipelineId
53-
pipelineid: "typos-scaffold"
53+
pipelineid: "gha_typos"
5454

5555
# Optional: provide a typos configuration file content
5656
#config: |
@@ -100,19 +100,19 @@ After publishing (see PUBLISH section), use the policy from a registry:
100100
Show the policy:
101101

102102
```sh
103-
updatecli manifest show --values values.yaml ghcr.io/updatecli/policies/typos/githubaction/scaffold
103+
updatecli manifest show --values values.yaml ghcr.io/updatecli/policies/typos/githubaction
104104
```
105105

106106
Dry-run:
107107

108108
```sh
109-
updatecli pipeline diff --values values.yaml ghcr.io/updatecli/policies/typos/githubaction/scaffold
109+
updatecli pipeline diff --values values.yaml ghcr.io/updatecli/policies/typos/githubaction
110110
```
111111

112112
Apply:
113113

114114
```sh
115-
updatecli pipeline apply --values values.yaml ghcr.io/updatecli/policies/typos/githubaction/scaffold
115+
updatecli pipeline apply --values values.yaml ghcr.io/updatecli/policies/typos/githubaction
116116
```
117117

118118
## AUTHENTICATION

updatecli/policies/typos/githubaction/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ scm:
4141
# Example: to disable SCM during local dry-runs, set `scm.enabled: false`.
4242
#
4343

44-
pipelineid: scaffold_typos
44+
pipelineid: gha_typos
4545
automerge: false
4646
# Parent is a boolean that controls whether the generated PR should target the parent of the repository or the repository itself.
4747
# This is useful when the repository is a fork and you want to target the upstream repository instead of the fork.
@@ -60,11 +60,11 @@ description: |+
6060
6161
* [typos GitHub Action](https://github.com/crate-ci/typos)
6262
63-
* [Updatecli Policies](https://github.com/updatecli/policies/tree/main/updatecli/policies/typos/githubaction/scaffold)
63+
* [Updatecli Policies](https://github.com/updatecli/policies/tree/main/updatecli/policies/typos/githubaction)
6464
6565
6666
gha:
67-
template_path: "https://raw.githubusercontent.com/updatecli/policies/refs/heads/main/updatecli/policies/typos/githubaction/scaffold/assets/gha_typos.yaml"
67+
template_path: "https://raw.githubusercontent.com/updatecli/policies/refs/heads/main/updatecli/policies/typos/githubaction/assets/gha_typos.yaml"
6868

6969
pipeline:
7070
labels:

0 commit comments

Comments
 (0)