diff options
author | morpheus65535 <[email protected]> | 2023-07-23 10:13:50 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2023-07-23 10:13:50 -0400 |
commit | 1c2d080b02754be7f115c8747c9614d796f2bbab (patch) | |
tree | ca5459a102afd83e9acf435d6ca45de002e27adb /.github | |
parent | 714f141cea376ff098218e4dfa15b11a72dff755 (diff) | |
download | bazarr-1c2d080b02754be7f115c8747c9614d796f2bbab.tar.gz bazarr-1c2d080b02754be7f115c8747c9614d796f2bbab.zip |
no log: trying again to fix git issue in release pipelines.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release_beta_to_dev.yaml | 3 | ||||
-rw-r--r-- | .github/workflows/release_dev_to_master.yaml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml index 291f9a84b..141549e1a 100644 --- a/.github/workflows/release_beta_to_dev.yaml +++ b/.github/workflows/release_beta_to_dev.yaml @@ -61,9 +61,10 @@ jobs: branch: development - name: Create Release (Conditional) - uses: fregante/setup-git-user@v2 if: ${{ steps.check-ci.outputs.conclusion == 'success' }} run: | + git config user.name "${GITHUB_ACTOR}" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" revision_count=$(git rev-list --invert-grep --regexp-ignore-case --extended-regexp --grep="^(Release|no log:|Merge.remote-tracking).*" $(git describe --tags --abbrev=0)..HEAD --count) if [[ $revision_count != 0 ]]; then echo "**** Found $revision_count changes! Releasing... ****" diff --git a/.github/workflows/release_dev_to_master.yaml b/.github/workflows/release_dev_to_master.yaml index 145a0a356..e9f83ed2a 100644 --- a/.github/workflows/release_dev_to_master.yaml +++ b/.github/workflows/release_dev_to_master.yaml @@ -54,8 +54,9 @@ jobs: working-directory: ${{ env.UI_DIRECTORY }} - name: Create Release - uses: fregante/setup-git-user@v2 run: | + git config user.name "${GITHUB_ACTOR}" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" export RELEASE_MASTER=1 release-it --ci --increment ${{ github.event.inputs.increment }} Merge: |