Skip to content

Commit

Permalink
Fix the logging message according to the changes made in #34 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
necojackarc authored Feb 24, 2021
1 parent c3a25ee commit 7a1c106
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: necojackarc/[email protected].0
uses: necojackarc/[email protected].1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml # Config file location override
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-request-review",
"version": "0.5.0",
"version": "0.5.1",
"description": "GitHub Action that automatically requests review of a pull request based on files changed",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const {
} = require('./reviewer');

async function run() {
core.info('Fetching configuration file from the base branch');
core.info('Fetching configuration file from the source branch');

let config;

Expand Down
4 changes: 0 additions & 4 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ const github = require('../src/github');
const sinon = require('sinon');
const { expect } = require('chai');

// This import runs the action, so you always see the following error messages:
// > Fetching configuration file from the base branch
// > ::error::Error: Parameter token or opts.auth is required
// This is a bit annyoing but there is no bad effect, so just ignore them now.
const { run } = require('../src/index');

describe('index', function() {
Expand Down

0 comments on commit 7a1c106

Please sign in to comment.