Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
EXPECTED_SHA: ${{ inputs.commit_sha }}
run: |
test -z "$(git tag --list "$TAG")"
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git tag -a "$TAG" "$EXPECTED_SHA" -m "Release $TAG"
git push origin "refs/tags/$TAG"

Expand Down
2 changes: 2 additions & 0 deletions scripts/test_release_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def test_create_release_checks_exact_master_before_annotated_tag(self):
workflow = self.read("create-release.yml")
self.assertIn('git rev-parse origin/master', workflow)
self.assertIn('git tag -a', workflow)
self.assertIn('git config user.name "github-actions[bot]"', workflow)
self.assertIn('git config user.email "41898282+github-actions[bot]@users.noreply.github.com"', workflow)
self.assertIn("--check-play", workflow)
self.assertIn("environment: release", workflow)

Expand Down