Skip to content

Commit

Permalink
fix: use ugrc release bot for release config commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Apr 4, 2024
1 parent 2b0626a commit db9daa7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,15 @@ runs:
}
}
- name: 🔑 Set git user
shell: bash
run: |
git config user.name "${{ inputs.github-app-name }}"
git config user.email "${{ inputs.github-app-email }}"
- name: ✔ Commit
shell: bash
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .release-please-manifest.json
git add release-please-config.json
git diff --staged --quiet || git commit -m "chore: configure release please [skip ci]"
Expand All @@ -142,12 +146,6 @@ runs:
manifest-file: .release-please-manifest.json
target-branch: ${{ github.ref_name }}

- name: 🔑 Set git user
shell: bash
run: |
git config user.name "${{ inputs.github-app-name }}"
git config user.email "${{ inputs.github-app-email }}"
- name: 🏷️ Tag major and minor versions
shell: bash
if: ${{ inputs.create-major-minor-tags == 'true' && steps.release-please.outputs.release_created == 'true' && inputs.prerelease != 'true' }}
Expand Down

0 comments on commit db9daa7

Please sign in to comment.