1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

chore(release): use deploy keys for relese (#3013)

main branch is protected and does not allow direct pushes.
the release action needs to push.
branch protection rules can be bypassed for people and apps, but not
github actions.

one of the workarounds is to use a ruleset in which we set a deploy key

see: https://github.com/orgs/community/discussions/25305\#discussioncomment-10728028
This commit is contained in:
Nikolay Karadzhov
2025-07-08 14:28:50 +03:00
committed by GitHub
parent 65a12d50e7
commit d9a6bb376f

View File

@@ -23,6 +23,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
ssh-key: ${{ secrets.RELEASE_KEY }}
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4