diff options
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: |