Skip to content

Commit

Permalink
Make Sentry commit tracking happy in CI (by making it less fussy)
Browse files Browse the repository at this point in the history
We increase fetch-depth, so it can find the previous commit in most
cases, and we ignore cases where it can't (it really doesn't matter).
  • Loading branch information
pimterry committed May 7, 2024
1 parent 822b704 commit 1d713c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 100

# Install Node
- uses: actions/setup-node@v4
Expand Down
6 changes: 5 additions & 1 deletion automation/webpack.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ export default merge(common, {
SentryPlugin.sentryWebpackPlugin({
release: {
name: process.env.UI_VERSION!,
setCommits: { auto: true }
setCommits: {
auto: true,
ignoreEmpty: true,
ignoreMissing: true
}
}
})
]
Expand Down

0 comments on commit 1d713c8

Please sign in to comment.