From 8e496a7a476aa30278632aae04bb2b638e9f35a9 Mon Sep 17 00:00:00 2001
From: giacomognosis <157793591+giacomognosis@users.noreply.github.com>
Date: Fri, 26 Apr 2024 18:04:22 +0200
Subject: [PATCH] Merge main into dev (#665)

* Core Devs Call Notes April 18, 2024 (#660)

* Add files via upload

* new bridges draft - 1

* change bridge architecture

* bridges section update

* updated legacy links for bridges

* dev links updated

* links for bridges

* screenshots

* bridges ss

* fix(bridges): typo

* Core Devs Call April 3, 2024 (#654)

* fix: using datadir instead of validator-dir (#647)

* node structure and updates (#648)

* metadata test

* thumbnail

* thumbnail

* thumbnail fix

* thumbnail fix

* added image for metadata

* added image for metadata

* added image for metadata

* added image for metadata

* added image for metadata

* added image for metadata

* minor fixes

* Solve conflicts

* Add files via upload

* Update README.md

updated and edited some part

* Update depositWithdrawalReward.md

* Update generalQuestions.md

* hard-fork info

* governance summary added

* fixing validator section

* config for redirects

* fixed node structure

* Update _category_.json

---------

Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: Armagan Ercan <armaggan@pm.me>

* Add files via upload (#650)

* Bridge UI related changes for docs (#652)

* Add files via upload

* new bridges draft - 1

* change bridge architecture

* bridges section update

* updated legacy links for bridges

* dev links updated

* links for bridges

* screenshots

* bridges ss

---------

Co-authored-by: Vanshika

---------

Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com>
Co-authored-by: Vanshika Srivastava <vanshikasrivastava.business@gmail.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: zengzengzenghuy <tayzh2799@gmail.com>

* Add files via upload

* added new provider for data indexing, some minor link changes

* fixed redirect for media kit

* added zerodev segment

* resolve configuration error

* Add CI for manual deployments to production, rename deploy.yml to dev_deploy.yml which handles deploys to dev/staging only (#658)

Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>

* Add slack_release_notifications.yml (#659)

Co-authored-by: Giacomo Licari <giacomo@gnosis.io>

* Add files via upload

* Update authors.yml

* fix: build error

* bridge: add governance proposal (unlocked EURe due to bridge UI issue)

* Added RPC nodes to moralis section (#662)

---------

Co-authored-by: Vanshika <vanshikasrivastava.business@gmail.com>
Co-authored-by: zengzengzenghuy <tayzh2799@gmail.com>
Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: giacomognosis <157793591+giacomognosis@users.noreply.github.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.io>
Co-authored-by: Filip Martinsson <martinsson.filip@gmail.com>

* Added RPC nodes to moralis section (#662) (#664)

* Add files via upload

* new bridges draft - 1

* change bridge architecture

* bridges section update

* updated legacy links for bridges

* dev links updated

* links for bridges

* screenshots

* bridges ss

* fix(bridges): typo

* Core Devs Call April 3, 2024 (#654)

* fix: using datadir instead of validator-dir (#647)

* node structure and updates (#648)

* metadata test

* thumbnail

* thumbnail

* thumbnail fix

* thumbnail fix

* added image for metadata

* added image for metadata

* added image for metadata

* added image for metadata

* added image for metadata

* added image for metadata

* minor fixes

* Solve conflicts

* Add files via upload

* Update README.md

updated and edited some part

* Update depositWithdrawalReward.md

* Update generalQuestions.md

* hard-fork info

* governance summary added

* fixing validator section

* config for redirects

* fixed node structure

* Update _category_.json

---------

Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: Armagan Ercan <armaggan@pm.me>

* Add files via upload (#650)

* Bridge UI related changes for docs (#652)

* Add files via upload

* new bridges draft - 1

* change bridge architecture

* bridges section update

* updated legacy links for bridges

* dev links updated

* links for bridges

* screenshots

* bridges ss

---------

Co-authored-by: Vanshika

---------

Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com>
Co-authored-by: Vanshika Srivastava <vanshikasrivastava.business@gmail.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: zengzengzenghuy <tayzh2799@gmail.com>

* Add files via upload

* added new provider for data indexing, some minor link changes

* fixed redirect for media kit

* added zerodev segment

* resolve configuration error

* Add CI for manual deployments to production, rename deploy.yml to dev_deploy.yml which handles deploys to dev/staging only (#658)

Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>

* Add slack_release_notifications.yml (#659)

Co-authored-by: Giacomo Licari <giacomo@gnosis.io>

* Add files via upload

* Update authors.yml

* fix: build error

* bridge: add governance proposal (unlocked EURe due to bridge UI issue)

* Added RPC nodes to moralis section (#662)

---------

Co-authored-by: Armagan Ercan <armaggan@pm.me>
Co-authored-by: zengzengzenghuy <tayzh2799@gmail.com>
Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: giacomognosis <157793591+giacomognosis@users.noreply.github.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.io>
Co-authored-by: Filip Martinsson <martinsson.filip@gmail.com>

* CI: fix tag regex

* CI: fix tag name in tag release

* CI: fix missing permissions

---------

Co-authored-by: Armagan Ercan <armaggan@pm.me>
Co-authored-by: Vanshika <vanshikasrivastava.business@gmail.com>
Co-authored-by: zengzengzenghuy <tayzh2799@gmail.com>
Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com>
Co-authored-by: Giacomo Licari <giacomo@gnosis.pm>
Co-authored-by: Filip Martinsson <martinsson.filip@gmail.com>
---
 .github/workflows/tag_release.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/tag_release.yml b/.github/workflows/tag_release.yml
index 15598c86..f0d0c6d3 100644
--- a/.github/workflows/tag_release.yml
+++ b/.github/workflows/tag_release.yml
@@ -3,7 +3,11 @@ name: Create Github Release
 on:
   push:
     tags:
-      - '[0-9]+.[0-9]+.[0-9]+'
+      - 'v[0-9]+.[0-9]+.[0-9]+'
+
+# Permission can be added at job level or workflow level    
+permissions:
+  contents: write # This is required for actions/checkout and create release
 
 jobs:
   release:
@@ -25,15 +29,15 @@ jobs:
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
           script: |
-            if (!${{ github.ref_name }}) {
+            if (!${{ toJson(github.ref_name) }}) {
               core.setFailed("RELEASE_TAG is not defined.")
 
               return;
             }
             try {
               const response = await github.rest.repos.createRelease({
-                name: ${{ github.ref_name }},
-                tag_name: ${{ github.ref_name }},
+                name: ${{ toJson(github.ref_name) }},
+                tag_name: ${{ toJson(github.ref_name) }},
                 draft: false,
                 generate_release_notes: true,
                 owner: context.repo.owner,