From 9358bd1e6f4fe3b60c578cb0ef27e06a74f94822 Mon Sep 17 00:00:00 2001 From: Murilo Henrique Date: Thu, 7 May 2020 14:26:41 -0300 Subject: [PATCH] fix: remove run this in pull_request first interaction Because a creator of PR not have write permission on repository, this actions fail on all the PR created by community. This bug it is related on https://github.com/actions/first-interaction/issues/10 --- .github/workflows/ci.yml | 2 +- .github/workflows/greetings.yml | 3 +-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8bb9df..29ac431 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,4 +37,4 @@ jobs: - name: Audit run: | npm install - npm audit + npm audit fix diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 50f4954..bdcaec7 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,6 +1,6 @@ name: Greetings -on: [pull_request, issues] +on: [issues] jobs: greeting: @@ -10,4 +10,3 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: 'Hooray! The first issue in a project we never forget ❤️' - pr-message: 'Thanks for your contribution! 🚀' diff --git a/package.json b/package.json index fb83123..b70e809 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "build": "tsc", "start": "node build/server.js", "test": "jest", - "lint": "eslint 'src/**/*.ts'" + "lint": "eslint src/**/*.ts" }, "devDependencies": { "@commitlint/cli": "^8.3.5",