chore: Update creds to allow updates on protected branch (#30749)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 32ea02b..5a46002 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,6 +12,7 @@
uses: actions/checkout@v2
with:
fetch-depth: 0
+ persist-credentials: false
- name: Setup Node.js v14
uses: actions/setup-node@v2
with:
@@ -21,5 +22,10 @@
npm install @semantic-release/git @semantic-release/exec --no-save
- name: Create Release
env:
+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
+ GIT_AUTHOR_NAME: "Frappe PR Bot"
+ GIT_AUTHOR_EMAIL: "developers@frappe.io"
+ GIT_COMMITTER_NAME: "Frappe PR Bot"
+ GIT_COMMITTER_EMAIL: "developers@frappe.io"
run: npx semantic-release
\ No newline at end of file