Skip to content

Commit

Permalink
ci: git author creds, compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Oct 2, 2023
1 parent 3c9f18e commit f85fe2b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Compliance"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: write

jobs:
compliance:
uses: open-sauced/hot/.github/workflows/compliance.yml@main
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
GIT_COMMITTER_NAME: "github-actions[bot]"
GIT_COMMITTER_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
GIT_AUTHOR_NAME: $(git log -1 --pretty=format:%an ${GITHUB_SHA})
GIT_AUTHOR_EMAIL: $(git log -1 --pretty=format:%ae ${GITHUB_SHA})
run: |
bun x semantic-release
Expand Down

0 comments on commit f85fe2b

Please sign in to comment.