Skip to content

Commit

Permalink
Merge pull request #19 from dscho/some-fixups
Browse files Browse the repository at this point in the history
Some fixups
  • Loading branch information
dscho authored Jan 10, 2023
2 parents d769a86 + 389f4d8 commit 49fb949
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: PR check

on: [pull_request]

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: install ESLint
run: npm install -g eslint
- uses: actions/checkout@v3
- name: run ESLint
run: eslint -c .eslintrc.json '**/*.js'
1 change: 0 additions & 1 deletion GitForWindowsHelper/check-runs.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const queueCheckRun = async (context, token, owner, repo, ref, checkRunName, tit
'PATCH',
`/repos/${owner}/${repo}/check-runs/${checkRunId}`,
parameters
}
)
}

Expand Down
2 changes: 1 addition & 1 deletion GitForWindowsHelper/slash-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module.exports = async (context, req) => {

await thumbsUp()

const { queueCheckRun } = require('./check-runs')
const { queueCheckRun, updateCheckRun } = require('./check-runs')
const triggerWorkflowDispatch = require('./trigger-workflow-dispatch')
const triggerBuild = async (architecture) =>
await triggerWorkflowDispatch(
Expand Down

0 comments on commit 49fb949

Please sign in to comment.