NTP-1234 | GHA | Update Commiter (#14675)
This commit is contained in:
6
.github/workflows/branch-cut.yml
vendored
6
.github/workflows/branch-cut.yml
vendored
@@ -40,10 +40,10 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ steps.get-token.outputs.token }}
|
||||
- name: Setup Git Credentials for android-bot@navi.com
|
||||
- name: Setup Git Credentials for navi-android[bot]
|
||||
run: |
|
||||
git config --global user.email "android-bot@navi.com"
|
||||
git config --global user.name "Android Bot"
|
||||
git config --global user.name "navi-android[bot]"
|
||||
git config --global user.email "194247829+navi-android[bot]@users.noreply.github.com"
|
||||
- name: Checkout release-${{ inputs.version_name }} from ${{ github.ref_name }}
|
||||
run: git checkout -b release-${{ inputs.version_name }}
|
||||
- name: Update Version Name (${{ inputs.version_name }}) & Version Code (${{ inputs.version_code }})
|
||||
|
||||
11
.github/workflows/spotless.yml
vendored
11
.github/workflows/spotless.yml
vendored
@@ -57,14 +57,11 @@ jobs:
|
||||
run: chmod +x gradlew
|
||||
- name: Run Spotless Action - ${{ inputs.action }}
|
||||
run: ./gradlew spotless${{ inputs.action }}
|
||||
- name: Setup Git Credentials for android-bot@navi.com
|
||||
- name: Setup Git Credentials for navi-android[bot]
|
||||
if: inputs.action == 'apply'
|
||||
run: |
|
||||
git config --global user.email "android-bot@navi.com"
|
||||
git config --global user.name "Android Bot"
|
||||
git config --global user.name "navi-android[bot]"
|
||||
git config --global user.email "194247829+navi-android[bot]@users.noreply.github.com"
|
||||
- name: Commit & Push Spotless Changes
|
||||
if: inputs.action == 'apply'
|
||||
run: |
|
||||
git add .
|
||||
git commit -m "NTP-7559 | Apply Spotless Changes"
|
||||
git push
|
||||
run: git commit -am "NTP-7559 | Apply Spotless Changes" && git push
|
||||
|
||||
Reference in New Issue
Block a user