We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea8811b commit 0bdcdc6Copy full SHA for 0bdcdc6
lib/setStatus.js
@@ -1,7 +1,7 @@
1
const agent = require('superagent')
2
3
module.exports = async (pr, state, description) => {
4
- const { head: { sha, repo: { full_name: name } } } = pr.meta
+ const { sha, repo: { full_name: name } } = pr.meta
5
const { body } = await agent
6
.post(`https://api.github.com/repos/${name}/statuses/${sha}`)
7
.set({ Authorization: `Bearer ${global.token}` })
0 commit comments