Skip to content

Commit 49fb949

Browse files
authored
Merge pull request #19 from dscho/some-fixups
Some fixups
2 parents d769a86 + 389f4d8 commit 49fb949

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/pr.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: PR check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: install ESLint
10+
run: npm install -g eslint
11+
- uses: actions/checkout@v3
12+
- name: run ESLint
13+
run: eslint -c .eslintrc.json '**/*.js'

GitForWindowsHelper/check-runs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ const queueCheckRun = async (context, token, owner, repo, ref, checkRunName, tit
5656
'PATCH',
5757
`/repos/${owner}/${repo}/check-runs/${checkRunId}`,
5858
parameters
59-
}
6059
)
6160
}
6261

GitForWindowsHelper/slash-commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = async (context, req) => {
133133

134134
await thumbsUp()
135135

136-
const { queueCheckRun } = require('./check-runs')
136+
const { queueCheckRun, updateCheckRun } = require('./check-runs')
137137
const triggerWorkflowDispatch = require('./trigger-workflow-dispatch')
138138
const triggerBuild = async (architecture) =>
139139
await triggerWorkflowDispatch(

0 commit comments

Comments
 (0)