Skip to content

Commit b638496

Browse files
committed
Merge branch 'main' of https://github.com/Geonovum/IMG
2 parents 87dcb67 + daa2a65 commit b638496

10 files changed

Lines changed: 1013 additions & 219 deletions

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Foutmelding
3+
about: Template voor een fout (meld eerst via IMG@geonovum.nl)
4+
title: ''
5+
labels: 9 bug
6+
assignees: ''
7+
8+
---
9+
10+
## Waar zit de fout?
11+
12+
Verwijzing naar plaats(en) in de tekst waar de fout zit.
13+
14+
## Wat is de fout?
15+
16+
Beschrijving van wat er niet klopt in de standaard.
17+
18+
## Wat moet het worden? [optioneel]
19+
20+
Als je een idee hebt voor de oplossing hier invullen.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Wijzigingsverzoek
3+
about: Template voor wijzigingsverzoek (meld eerst via IMG@geonovum.nl)
4+
title: Deze titel beschrijft vooral kort wat veranderd moet worden.
5+
labels: 9 enhancement
6+
assignees: ''
7+
---
8+
# Aanleiding wijziging
9+
10+
Beschrijf hier waarom de standaard moet worden aangepast en waar de vraag vandaan komt met evt verwijzing naar SDIMG-nummer.
11+
12+
# Voorgestelde wijziging
13+
14+
Beschrijf hier wat er gewijzigd moet worden aan de standaard.
15+
16+
# Impactanalyse
17+
18+
Geef hier een indicatie van de impact van de wijziging:
19+
20+
- Wie gaat er wat van merken? **Data providers, softwareleveranciers**
21+
- Veranderen definities van objecten in de standaard zodanig dat de wijziging impact heeft op de uit te wisselen gegevens? **Ja/Nee**
22+
- Is er een herlevering nodig naar de CVGG? **Ja/Nee, Als nieuwe data herleidbaar is, is geen herlevering nodig.**
23+
- Heeft het impact op het xml-schema? **Ja/Nee**
24+
- Is het backward compatible in de zin van validatie op het schema? **Ja/Nee**
25+
- Heeft het impact op de regels in IMG? **Ja/Nee**
26+
- Heeft het impact op de validatieregels voor de CVGG? **Ja/Nee**
27+
- Heeft het impact op de omgevingsregeling? **Ja/Nee**
28+
- Is het een X, Y, of Z wijziging? **X, Y, Z of nog nader te bepalen**
29+
30+
# Toelichting
31+
32+
Ruimte voor extra toelichting. Bijvoorbeeld alternatieven die je overwogen hebt.

.github/workflows/build.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout code
12-
uses: actions/checkout@v6
12+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1313

1414
- name: Prepare directories
1515
run: |
@@ -27,7 +27,7 @@ jobs:
2727
fi
2828
2929
- name: Validate HTML
30-
uses: anishathalye/proof-html@v2
30+
uses: anishathalye/proof-html@a76b66427e600c6992e8937a741afffd2264a613 # v2.2.3
3131
continue-on-error: true
3232
with:
3333
directory: ${{ env.CHECK_DIR }}/site
@@ -79,24 +79,10 @@ jobs:
7979
mv *.pdf static/
8080
8181
- name: Serve snapshot over HTTP
82-
uses: Eun/http-server-action@v1
83-
with:
84-
directory: ${{ github.workspace }}
85-
port: 8080
86-
content-types: |
87-
{
88-
"css": "text/css",
89-
"html": "text/html",
90-
"ico": "image/x-icon",
91-
"jpeg": "image/jpeg",
92-
"jpg": "image/jpeg",
93-
"js": "text/javascript",
94-
"json": "application/json",
95-
"png": "image/png",
96-
"svg": "image/svg+xml",
97-
"txt": "text/plain",
98-
"xml": "text/xml"
99-
}
82+
run: |
83+
cd "${{ github.workspace }}"
84+
python3 -m http.server 8080 >/dev/null 2>&1 &
85+
echo "SNAPSHOT_SERVER_PID=$!" >> "$GITHUB_ENV"
10086
10187
- name: Ensure Chrome + matching ChromeDriver for WCAG check
10288
id: browser
@@ -192,6 +178,13 @@ jobs:
192178
http://localhost:8080/snapshot.html \
193179
--buffer-size 8192 > $CHECK_DIR/link-check.txt 2>&1 || echo "Geen linkfouten gevonden." > $CHECK_DIR/link-check.txt
194180
181+
- name: Stop snapshot HTTP server
182+
if: always()
183+
run: |
184+
if [[ -n "${SNAPSHOT_SERVER_PID:-}" ]]; then
185+
kill "$SNAPSHOT_SERVER_PID" || true
186+
fi
187+
195188
- name: Commit all results
196189
if: >
197190
github.event_name == 'push'
@@ -215,7 +208,7 @@ jobs:
215208
git push --force-with-lease origin HEAD:"$BRANCH"
216209
217210
- name: Upload snapshot artifact
218-
uses: actions/upload-artifact@v7
211+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
219212
with:
220213
name: snapshot
221214
path: |

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
pull-requests: write
1818

1919
steps:
20-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121

2222
- name: Download snapshot artefact
23-
uses: actions/download-artifact@v8
23+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
2424
with:
2525
name: snapshot
2626
path: .
@@ -145,7 +145,7 @@ jobs:
145145
146146
- name: Generate GitHub App token
147147
id: app-token
148-
uses: actions/create-github-app-token@v3
148+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
149149
with:
150150
app-id: ${{ secrets.GH_APP_ID }}
151151
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
@@ -154,7 +154,7 @@ jobs:
154154
docs.geostandaarden.nl
155155
156156
- name: Checkout private docs
157-
uses: actions/checkout@v6
157+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158158
with:
159159
repository: Geonovum/docs.geostandaarden.nl
160160
token: ${{ steps.app-token.outputs.token }}
@@ -217,7 +217,7 @@ jobs:
217217
218218
- name: Create PR naar main bij release
219219
if: ${{ github.event.release.prerelease != true }}
220-
uses: peter-evans/create-pull-request@v8
220+
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
221221
with:
222222
token: ${{ steps.app-token.outputs.token }}
223223
path: docs.geostandaarden.nl
31.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)