Skip to content

Commit 5be03ea

Browse files
committed
Use deploy key to push to git
1 parent e302d87 commit 5be03ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-drafter.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66
- main
77

88
permissions:
9-
contents: write
9+
contents: read
1010
pull-requests: read
1111

1212
jobs:
1313
release-drafter:
1414
name: Release Drafter
15+
environment: release-drafter
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: release-drafter/release-drafter@v6
@@ -20,6 +21,8 @@ jobs:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122

2223
- uses: actions/checkout@v4
24+
with:
25+
ssh-key: ${{ secrets.DEPLOY_KEY }}
2326

2427
- name: Update version files
2528
run: |

0 commit comments

Comments
 (0)