Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update git config and environment in the presto stable release pipeline #24441

Merged
merged 3 commits into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/presto-stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ jobs:
presto-release:
name: Presto Stable Release Workflow
runs-on: ubuntu-latest
environment: release

permissions:
contents: write
packages: write

steps:
- name: Check actor
if: ${{ github.actor != 'prestodb-ci' }}
run: echo "Unauthorized actor. Please login with prestodb-ci to run this action." && exit 1

- name: Check branch
if: ${{ github.ref != 'refs/heads/master' }}
run: echo "Invalid branch. This action can only be run on the master branch." && exit 1
Expand All @@ -37,8 +34,8 @@ jobs:
- name: Configure git
run: |
git config --global --add safe.directory ${{github.workspace}}
git config --global user.email "oss-release-bot@prestodb.io"
git config --global user.name "oss-release-bot"
git config --global user.email "ci@lists.prestodb.io"
git config --global user.name "prestodb-ci"
git config pull.rebase false

- name: Set maven version
Expand Down
Loading