Skip to content

Commit fb09242

Browse files
authored
fix: repair release workflow validation (#195)
* fix: run prevent-file-change with target permissions * fix: allow release changelog bullet style * style: normalize changelog list markers
1 parent 5d0d3e1 commit fb09242

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/prevent-file-change.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@
22
name: prevent-file-change
33

44
"on":
5-
pull_request:
5+
pull_request_target:
66
types:
77
- opened
88
- reopened
99
- edited
1010
- synchronize
1111

12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
1216
jobs:
1317
prevent-file-change:
18+
permissions:
19+
contents: read
20+
pull-requests: write
1421
uses: sous-chefs/.github/.github/workflows/prevent-file-change.yml@5.0.3
1522
secrets:
1623
token: ${{ secrets.GITHUB_TOKEN }}

.markdownlint-cli2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
config:
2+
ul-style: false # MD004 - release-please generates "*" in CHANGELOG.md
23
ul-indent: false # MD007
34
line-length: false # MD013
45
no-duplicate-heading: false # MD024

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Standardise files with files in sous-chefs/repo-management
7070

7171
* Standardise files with files in sous-chefs/repo-management
7272
* Partially modernize cookbook
73-
- Refactor library helper
73+
* Refactor library helper
7474
* Properly set repositories for various supported platforms
7575
* Cleanup and Fix CI
7676
* Add support to various platforms
@@ -136,11 +136,11 @@ Standardise files with files in sous-chefs/repo-management
136136
## [1.1.0] - 2018-08-13
137137

138138
* README Updates:
139-
- Fix broken links
140-
- Add reference to Wazzuh
139+
* Fix broken links
140+
* Add reference to Wazzuh
141141
* General updates to cookbook
142-
- Remove EOL distros
143-
- Update for current supported Chef version (13)
142+
* Remove EOL distros
143+
* Update for current supported Chef version (13)
144144

145145
## [1.0.5] - 2014-04-15
146146

0 commit comments

Comments
 (0)