Skip to content

Commit 45b7791

Browse files
committed
cicd: fixed branch and git user
1 parent 7b8e719 commit 45b7791

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/early-access.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Early Access'
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66

77
jobs:
88
earlyaccess:
@@ -11,8 +11,8 @@ jobs:
1111
uses: redis-field-engineering/redis-github-workflows/.github/workflows/early-access.yml@main
1212
with:
1313
jreleaser-arguments: full-release
14-
java-version: 21
1514
secrets:
15+
github-user: ${{ secrets.GIT_USER }}
1616
github-token: ${{ secrets.GIT_ACCESS_TOKEN }}
1717
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
1818
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }}

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
required: true
99
branch:
1010
description: 'Branch'
11-
default: 'master'
12-
required: false
11+
default: 'main'
12+
required: true
1313
tasks:
1414
description: 'Tasks'
1515
default: 'build aggregateTestReports publish'
1616
required: false
17-
17+
1818
jobs:
1919
release:
2020
name: Release
@@ -24,6 +24,7 @@ jobs:
2424
version: ${{ github.event.inputs.version }}
2525
tasks: ${{ github.event.inputs.tasks }}
2626
secrets:
27+
github-user: ${{ secrets.GIT_USER }}
2728
github-token: ${{ secrets.GIT_ACCESS_TOKEN }}
2829
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
2930
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }}

0 commit comments

Comments
 (0)