Skip to content

Commit a6730eb

Browse files
committed
disable creating tags for initial release
1 parent 13d6670 commit a6730eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pull/merged.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ module.exports.createTag = () => async context => {
2929
// Only create tags on "master"
3030
if (thread.base.ref !== context.payload.repository.default_branch) return
3131

32-
const { data } = await context.github.repos.listTags(context.repo({ per_page: 5 }))
32+
const { data } = await context.github.repos.listTags(context.repo({ per_page: 1 }))
33+
34+
if (!(data && data[0] && data[0].name)) return
3335

3436
const lastTag = data[0].name
3537

0 commit comments

Comments
 (0)