Skip to content

Commit 0110302

Browse files
authored
Merge pull request #29 from danielparks/check-reference
2 parents b39ee44 + 6bcf283 commit 0110302

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.github/workflows/pr-checks.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
- run: gem install --no-document --minimal-deps pdk
2222
- run: pdk validate
2323

24+
- run: pdk bundle exec puppet strings generate --format markdown
25+
- name: Confirm REFERENCE.md is up-to-date
26+
run: git diff --color --exit-code
27+
2428
- run: pdk update --force
2529
- name: Confirm PDK update does nothing
2630
run: git diff --color --exit-code

.sync.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,3 @@ spec/default_facts.yml:
1414
privileged: true
1515
uid: 0
1616
user: "root"
17-
18-
.github/workflows/pr-checks.yaml:
19-
validate-REFERENCE.md: false
20-
21-
release.rb:
22-
validate-REFERENCE.md: false

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@
8585
],
8686
"pdk-version": "2.6.1",
8787
"template-url": "https://github.com/danielparks/pdk-templates#main",
88-
"template-ref": "heads/main-0-gb75995f"
88+
"template-ref": "heads/main-0-g4789b4a"
8989
}

release.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,11 @@ def confirm_no_changes
244244

245245
run('git', 'add', 'CHANGELOG.md', 'metadata.json')
246246

247+
puts 'Confirming that REFERENCE.md is up-to-date'
248+
run('pdk', 'bundle', 'exec', 'puppet', 'strings', 'generate',
249+
'--format', 'markdown')
250+
confirm_no_changes
251+
247252
puts 'Confirming that pdk update does nothing'
248253
run('pdk', 'update', '--force')
249254
confirm_no_changes

0 commit comments

Comments
 (0)