Skip to content

Commit d65137e

Browse files
committed
Use GITHUB_TOKEN or deploy key
Also use [email protected] as committer email.
1 parent c20aef7 commit d65137e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.ci/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ function prepare_local_p2_site() {
208208
cd current-p2-site
209209
git init -q --initial-branch=gh-pages
210210
git config user.name "PMD CI (pmd-bot)"
211-
git config user.email "andreas.dangel+pmd-bot@adangel.org"
212-
git remote add origin [email protected]:pmd/pmd-eclipse-plugin-p2-site.git
211+
git config user.email "pmd-bot@users.noreply.github.com"
212+
git remote add origin [email protected]-pmd-eclipse-plugin-p2-site:pmd/pmd-eclipse-plugin-p2-site.git
213213
git pull --rebase origin gh-pages
214214
)
215215
}

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ jobs:
5050
shell: bash
5151
env:
5252
PMD_CI_SECRET_PASSPHRASE: ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)