From daf36fbab323b05975f905bdfd04bc7cfc0d92f0 Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Wed, 26 Oct 2022 11:46:38 +0200
Subject: [PATCH 01/20] chore: workflow test

---
 .github/workflows/00-init.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index ef26ec2..4c05d6c 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -8,6 +8,14 @@ jobs:
     name: Init
     runs-on: ubuntu-latest
     steps:
+      - name: Repo workspace  
+        env:
+          OWNER_LOGIN: ${{context.payload.pull_request.head.owner.login}}
+        uses: actions/github-script@v6
+        with:
+          script: |
+            console.log(context.payload.pull_request.head);
+        
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1
 

From 356c1a8717653b1fbda47f60d5886d005d113d67 Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Wed, 26 Oct 2022 12:51:39 +0200
Subject: [PATCH 02/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 4c05d6c..ef26ec2 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -8,14 +8,6 @@ jobs:
     name: Init
     runs-on: ubuntu-latest
     steps:
-      - name: Repo workspace  
-        env:
-          OWNER_LOGIN: ${{context.payload.pull_request.head.owner.login}}
-        uses: actions/github-script@v6
-        with:
-          script: |
-            console.log(context.payload.pull_request.head);
-        
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1
 

From f841e8a05664d54b1904df51fb1b375a34ae6d59 Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:01:06 +0200
Subject: [PATCH 03/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index ef26ec2..eb6d668 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -8,6 +8,12 @@ jobs:
     name: Init
     runs-on: ubuntu-latest
     steps:
+      - name: Repo workspace
+        uses: actions/github-script@v6
+        with:
+          script: |
+            console.log(context.payload.pull_request.head);
+            
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1
 

From b7bacd25d9c84961e413e32e50c9f872b4740648 Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:05:05 +0200
Subject: [PATCH 04/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index eb6d668..9b6103b 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -12,7 +12,7 @@ jobs:
         uses: actions/github-script@v6
         with:
           script: |
-            console.log(context.payload.pull_request.head);
+            console.log(context.payload.pull_request);
             
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1

From 273974a66c4c3deeb07ac75ed5005fb9b9e7032d Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:06:35 +0200
Subject: [PATCH 05/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 9b6103b..5231d31 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -9,6 +9,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Repo workspace
+        env:
+          OWNER_LOGIN: ${{context.payload.pull_request.head.owner.login}}
         uses: actions/github-script@v6
         with:
           script: |

From d8f4c82a16a48ebb502cab2249a2c153717be272 Mon Sep 17 00:00:00 2001
From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:31:39 +0200
Subject: [PATCH 06/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 5231d31..faaf981 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -10,7 +10,7 @@ jobs:
     steps:
       - name: Repo workspace
         env:
-          OWNER_LOGIN: ${{context.payload.pull_request.head.owner.login}}
+          OWNER_LOGIN: ${{github.event.pull_request}}
         uses: actions/github-script@v6
         with:
           script: |

From 2d98aaf55d8f47771c2125229de67fb3745ffec9 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:41:53 +0200
Subject: [PATCH 07/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index faaf981..d288466 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -10,7 +10,7 @@ jobs:
     steps:
       - name: Repo workspace
         env:
-          OWNER_LOGIN: ${{github.event.pull_request}}
+          OWNER_LOGIN: ${{github.event}}
         uses: actions/github-script@v6
         with:
           script: |

From a5d4730024d079af0fad95bb1cede9dd473204cd Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:43:20 +0200
Subject: [PATCH 08/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index d288466..b814e8f 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -10,7 +10,7 @@ jobs:
     steps:
       - name: Repo workspace
         env:
-          OWNER_LOGIN: ${{github.event}}
+          OWNER_LOGIN: ${{github.event.pull_request.head.owner.login}}
         uses: actions/github-script@v6
         with:
           script: |

From db332e315711b2531ed95e7c8be9aaa02100f9a1 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:44:16 +0200
Subject: [PATCH 09/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index b814e8f..8af11db 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -15,6 +15,7 @@ jobs:
         with:
           script: |
             console.log(context.payload.pull_request);
+            console.log(github.event.pull_request);
             
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1

From eb4da6d668cfa3f3adbba820dd4a9ded8816662c Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:47:11 +0200
Subject: [PATCH 10/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 8af11db..40eb2d5 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -14,8 +14,7 @@ jobs:
         uses: actions/github-script@v6
         with:
           script: |
-            console.log(context.payload.pull_request);
-            console.log(github.event.pull_request);
+            console.log(github);
             
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1

From fba6a5a18f68aaecefed1c1d025ede50bc0f5c83 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:50:43 +0200
Subject: [PATCH 11/20] Update default.yml

---
 .github/workflows/default.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml
index c447522..c3ab68a 100644
--- a/.github/workflows/default.yml
+++ b/.github/workflows/default.yml
@@ -1,6 +1,7 @@
 name: Test and deploy to GitHub Pages
 
-on: [push]
+on: 
+  pull_request:
 
 jobs:
   init:

From 5e83df19277b1250d6f672e57a1973ef4bd3cac6 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:56:02 +0200
Subject: [PATCH 12/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 40eb2d5..f176f70 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -11,10 +11,11 @@ jobs:
       - name: Repo workspace
         env:
           OWNER_LOGIN: ${{github.event.pull_request.head.owner.login}}
+          XXX: ${{github.event}}
         uses: actions/github-script@v6
         with:
           script: |
-            console.log(github);
+            console.log($OWNER_LOGIN);
             
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1

From 67e54f4f1bc02d864358b229337b412dab1c131e Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:57:05 +0200
Subject: [PATCH 13/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index f176f70..5c5368a 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -11,7 +11,6 @@ jobs:
       - name: Repo workspace
         env:
           OWNER_LOGIN: ${{github.event.pull_request.head.owner.login}}
-          XXX: ${{github.event}}
         uses: actions/github-script@v6
         with:
           script: |

From b4dce33c2815312b0fb8a957e40cfaa41573c691 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:59:24 +0200
Subject: [PATCH 14/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 5c5368a..3d87960 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -8,13 +8,18 @@ jobs:
     name: Init
     runs-on: ubuntu-latest
     steps:
+      - name: Print the GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"
+        
       - name: Repo workspace
         env:
-          OWNER_LOGIN: ${{github.event.pull_request.head.owner.login}}
+          HEAD_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
         uses: actions/github-script@v6
         with:
           script: |
-            console.log($OWNER_LOGIN);
+            console.log($HEAD_OWNER);
             
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1

From 7fb7aba19afa4967616d9951a8c749b5f51b8d73 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:59:46 +0200
Subject: [PATCH 15/20] Update default.yml

---
 .github/workflows/default.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml
index c3ab68a..2b19a41 100644
--- a/.github/workflows/default.yml
+++ b/.github/workflows/default.yml
@@ -1,7 +1,6 @@
 name: Test and deploy to GitHub Pages
 
-on: 
-  pull_request:
+on: pull_request
 
 jobs:
   init:

From c914e086f561c5c51bc4741816466f50c2a86222 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 14:05:03 +0200
Subject: [PATCH 16/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 3d87960..f8a825d 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -15,7 +15,7 @@ jobs:
         
       - name: Repo workspace
         env:
-          HEAD_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
+          HEAD_OWNER: ${{ github.head.repo.owner.login }}
         uses: actions/github-script@v6
         with:
           script: |

From b04148883e1ef3d81200fed40834656cd486acc2 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 14:11:25 +0200
Subject: [PATCH 17/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index f8a825d..838973d 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -15,7 +15,7 @@ jobs:
         
       - name: Repo workspace
         env:
-          HEAD_OWNER: ${{ github.head.repo.owner.login }}
+          HEAD_OWNER: ${{ toJson(github.event.pull_request.head.repo.owner.login) }}
         uses: actions/github-script@v6
         with:
           script: |

From c874f053f1c9146a0538a61ac14d89711ca67438 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 14:15:30 +0200
Subject: [PATCH 18/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 838973d..4807a72 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -14,12 +14,11 @@ jobs:
         run: echo "$GITHUB_CONTEXT"
         
       - name: Repo workspace
-        env:
-          HEAD_OWNER: ${{ toJson(github.event.pull_request.head.repo.owner.login) }}
+        if: toJson(github.event.pull_request.head.repo.owner.login) == 'dbsystel'
         uses: actions/github-script@v6
         with:
           script: |
-            console.log($HEAD_OWNER);
+            console.log("Hello, darkness my old friend!");
             
       - name: 🛑 Cancel Previous Runs
         uses: styfle/cancel-workflow-action@0.9.1

From b55bac1ab23d0dcb1c1dc73b8f42087e35b8de76 Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 14:17:46 +0200
Subject: [PATCH 19/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 4807a72..372c09c 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -14,7 +14,7 @@ jobs:
         run: echo "$GITHUB_CONTEXT"
         
       - name: Repo workspace
-        if: toJson(github.event.pull_request.head.repo.owner.login) == 'dbsystel'
+        if: ${{ toJson(github.event.pull_request.head.repo.owner.login) == 'dbsystel' }}
         uses: actions/github-script@v6
         with:
           script: |

From 4d990afb44587f8be3970ee7cbce21c331bf51fa Mon Sep 17 00:00:00 2001
From: Nicolas Merget <104347736+nmerget@users.noreply.github.com>
Date: Wed, 26 Oct 2022 14:25:51 +0200
Subject: [PATCH 20/20] Update 00-init.yml

---
 .github/workflows/00-init.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml
index 372c09c..3406bd9 100644
--- a/.github/workflows/00-init.yml
+++ b/.github/workflows/00-init.yml
@@ -14,7 +14,7 @@ jobs:
         run: echo "$GITHUB_CONTEXT"
         
       - name: Repo workspace
-        if: ${{ toJson(github.event.pull_request.head.repo.owner.login) == 'dbsystel' }}
+        if: ${{ github.event.pull_request.head.repo.owner.login == 'dbsystel' }}
         uses: actions/github-script@v6
         with:
           script: |