Skip to content

Commit 1d713c8

Browse files
committed
Make Sentry commit tracking happy in CI (by making it less fussy)
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).
1 parent 822b704 commit 1d713c8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: .github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 100
1113

1214
# Install Node
1315
- uses: actions/setup-node@v4

Diff for: automation/webpack.prod.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ export default merge(common, {
9898
SentryPlugin.sentryWebpackPlugin({
9999
release: {
100100
name: process.env.UI_VERSION!,
101-
setCommits: { auto: true }
101+
setCommits: {
102+
auto: true,
103+
ignoreEmpty: true,
104+
ignoreMissing: true
105+
}
102106
}
103107
})
104108
]

0 commit comments

Comments
 (0)