diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index abef8b4f9..0cc1e3674 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,6 +1,8 @@
name: CI
-on: push
+on:
+ push:
+ pull_request:
permissions:
contents: write
@@ -26,7 +28,11 @@ jobs:
- name: Validate NeTEx XML examples
run: ./.github/scripts/validate-examples.sh
+ # Only on push: a pull_request run from a fork gets a read-only token
+ # and cannot commit back. Target branches are still normalized by the
+ # push-triggered run that follows the merge.
- name: Commit changes
+ if: github.event_name == 'push'
uses: EndBug/add-and-commit@v9 # https://github.com/marketplace/actions/add-commit
with:
default_author: github_actions
diff --git a/examples/standards/nta/NTA-PI-01_EI_IR_LINE_OFFER__Journey00122_20200801.xml b/examples/standards/nta/NTA-PI-01_EI_IR_LINE_OFFER__Journey00122_20200801.xml
index eb3bb3323..48174101a 100644
--- a/examples/standards/nta/NTA-PI-01_EI_IR_LINE_OFFER__Journey00122_20200801.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_IR_LINE_OFFER__Journey00122_20200801.xml
@@ -410,7 +410,7 @@ RS 0 100 10 Reservations available#
(C) NTA 2020
-->
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:47.0Z
SYS001
diff --git a/examples/standards/nta/NTA-PI-01_EI_IR_STOP_OFFER__AllStations_20200801.xml b/examples/standards/nta/NTA-PI-01_EI_IR_STOP_OFFER__AllStations_20200801.xml
index 8b978d180..db2d6e08f 100644
--- a/examples/standards/nta/NTA-PI-01_EI_IR_STOP_OFFER__AllStations_20200801.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_IR_STOP_OFFER__AllStations_20200801.xml
@@ -11,7 +11,7 @@ HRDF records NeTEx format .
(C) NTA , IR 2020
-->
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:46.0Z
SYS001
diff --git a/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93Calls_20200701.xml b/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93Calls_20200701.xml
index 9324fe52e..fb16ecbe4 100644
--- a/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93Calls_20200701.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93Calls_20200701.xml
@@ -309,7 +309,7 @@ attribution002,0,1,Transdev,12345
(C) NTA 2020
-->
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:46.0Z
SYS001
diff --git a/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93_20200701.xml b/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93_20200701.xml
index a33b8d52d..f4ad4dc8b 100644
--- a/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93_20200701.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_LUAS_LINE_OFFER_LUAS_Line93_20200701.xml
@@ -312,7 +312,7 @@ attribution002,0,1,Transdev,12345
(C) NTA 2020
-->
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:46.0Z
SYS001
diff --git a/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_20200601.xml b/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_20200601.xml
index 8ede5b50c..0f74db8b7 100644
--- a/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_20200601.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_20200601.xml
@@ -1,6 +1,6 @@
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:46.0Z
SYS001
diff --git a/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_LUAS_20200601.xml b/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_LUAS_20200601.xml
index b06d4b8bd..2ae253a28 100644
--- a/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_LUAS_20200601.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_NOC_Operator_LUAS_20200601.xml
@@ -7,7 +7,7 @@ This Example shows an extract of encoding a single Operator data encoded
(C) NTA 2020
-->
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:46.0Z
SYS001
diff --git a/examples/standards/nta/NTA-PI-01_EI_NTA_Luas_20200715.xml b/examples/standards/nta/NTA-PI-01_EI_NTA_Luas_20200715.xml
index 1ea83cc31..fa45caf31 100644
--- a/examples/standards/nta/NTA-PI-01_EI_NTA_Luas_20200715.xml
+++ b/examples/standards/nta/NTA-PI-01_EI_NTA_Luas_20200715.xml
@@ -1,6 +1,6 @@
- 20209-12-17T09:30:46.0Z
+ 2019-12-17T09:30:46.0Z
SYS001