Skip to content

Commit 4ae5847

Browse files
authored
Merge pull request #224 from maxistar/fix_deploy
add name
2 parents e62fc35 + b09213a commit 4ae5847

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/create-release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
EXPECTED_SHA: ${{ inputs.commit_sha }}
6262
run: |
6363
test -z "$(git tag --list "$TAG")"
64+
git config user.name "github-actions[bot]"
65+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
6466
git tag -a "$TAG" "$EXPECTED_SHA" -m "Release $TAG"
6567
git push origin "refs/tags/$TAG"
6668

‎scripts/test_release_workflows.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ def test_create_release_checks_exact_master_before_annotated_tag(self):
2222
workflow = self.read("create-release.yml")
2323
self.assertIn('git rev-parse origin/master', workflow)
2424
self.assertIn('git tag -a', workflow)
25+
self.assertIn('git config user.name "github-actions[bot]"', workflow)
26+
self.assertIn('git config user.email "41898282+github-actions[bot]@users.noreply.github.com"', workflow)
2527
self.assertIn("--check-play", workflow)
2628
self.assertIn("environment: release", workflow)
2729

0 commit comments

Comments
 (0)