diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index aa9b551..9a58be1 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -6,8 +6,11 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: ./ + - name: Checkout + uses: actions/checkout@v2 + + - name: Add Comment + uses: ./ with: message: | **Hello PULL!** diff --git a/index.js b/index.js index 984c55b..30e12e7 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ async function run() { } if (!issueNumber) { - core.warning( + core.info( "this action only works on pull_request events or other commits associated with a pull" ); core.setOutput("comment-created", "false"); @@ -72,7 +72,7 @@ async function run() { ); if (filteredComments.length) { - core.warning("the issue already contains this message"); + core.info("the issue already contains this message"); core.setOutput("comment-created", "false"); return; }