Skip to content

Commit 5b34165

Browse files
committed
Spike locking issues
1 parent eae35de commit 5b34165

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/labels.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,14 @@ jobs:
124124
},
125125
},
126126
issues: {
127+
// Todo: Add description
128+
'raise-a-new-issue-please': {
129+
close: false,
130+
lock: true,
131+
comment: `
132+
etc etc please raise a new issue etc etc
133+
`
134+
},
127135
// Termux issues are usually user error. However they may describe issues within modules/framework itself,
128136
// and for this reason they are not closed automatically.
129137
termux: {
@@ -216,3 +224,10 @@ jobs:
216224
state: 'closed'
217225
});
218226
}
227+
if (config.lock) {
228+
await github.issues.lock({
229+
issue_number: context.issue.number,
230+
owner: context.repo.owner,
231+
repo: context.repo.repo,
232+
});
233+
}

0 commit comments

Comments
 (0)