Skip to content

Commit 944541f

Browse files
unideveljp-sivaprasad
authored andcommitted
Update git config and environment in the presto stable release pipeline (prestodb#24441)
* Update gitconfig in the presto stable release pipeline * Add environment for the presto stable release action * Remove actor checking since the action environment requires approval to run
1 parent 2dc53f2 commit 944541f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/presto-stable-release.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ jobs:
77
presto-release:
88
name: Presto Stable Release Workflow
99
runs-on: ubuntu-latest
10+
environment: release
1011

1112
permissions:
1213
contents: write
1314
packages: write
1415

1516
steps:
16-
- name: Check actor
17-
if: ${{ github.actor != 'prestodb-ci' }}
18-
run: echo "Unauthorized actor. Please login with prestodb-ci to run this action." && exit 1
19-
2017
- name: Check branch
2118
if: ${{ github.ref != 'refs/heads/master' }}
2219
run: echo "Invalid branch. This action can only be run on the master branch." && exit 1
@@ -37,8 +34,8 @@ jobs:
3734
- name: Configure git
3835
run: |
3936
git config --global --add safe.directory ${{github.workspace}}
40-
git config --global user.email "oss-release-bot@prestodb.io"
41-
git config --global user.name "oss-release-bot"
37+
git config --global user.email "ci@lists.prestodb.io"
38+
git config --global user.name "prestodb-ci"
4239
git config pull.rebase false
4340
4441
- name: Set maven version

0 commit comments

Comments
 (0)