Skip to content

Commit b9c6cd5

Browse files
committed
scm use https connection
1 parent fa792a4 commit b9c6cd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
run: |
3030
git config --global user.name 'Gary Bot 2'
3131
git config --global user.email '[email protected]'
32-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
3332
3433
- name: Maven release
3534
run: |
@@ -41,6 +40,7 @@ jobs:
4140
release:prepare \
4241
release:perform
4342
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
SIGN_KEY: ${{ secrets.SIGN_KEY }}
4545
SIGN_KEY_ID: ${{ secrets.SIGN_KEY_ID }}
4646
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
<scm>
3030
<url>https://github.com/graylog-labs/syslog4j-graylog2</url>
31-
<connection>scm:git:git@github.com:graylog-labs/syslog4j-graylog2.git</connection>
32-
<developerConnection>scm:git:git@github.com:graylog-labs/syslog4j-graylog2.git</developerConnection>
31+
<connection>https://github.com/graylog-labs/syslog4j-graylog2.git</connection>
32+
<developerConnection>https://github.com/graylog-labs/syslog4j-graylog2.git</developerConnection>
3333
<tag>HEAD</tag>
3434
</scm>
3535

0 commit comments

Comments
 (0)