Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/jest-25.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-edstrom authored May 20, 2020
2 parents 7a5d32a + ee7b41e commit a47b267
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,13 @@ jobs:
- uses: actions/checkout@v1
- run: |
npm install
npm run all
npm run format
npm run build
npm test
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ./
with:
users: jason-edstrom, dependabot-preview
2 changes: 1 addition & 1 deletion src/__tests__/verify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('Verify User Tests', function () {
it('Verify User As True', () => {
expect(
verify.verifyUser('jason-edstrom', 'jason-edstrom, dependabot-preview')
).toBe(true);
).toBe(true)
})

it('Verify User As False', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/main/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export function verifyUser(username: string, input: string): boolean {
export function verifyOwner(username: string): boolean {
const owner = github.context.repo.owner
core.debug(`Owner: ${owner}`)
return owner === username;
return owner === username
}

0 comments on commit a47b267

Please sign in to comment.