Skip to content

Commit

Permalink
fix: remove run this in pull_request first interaction
Browse files Browse the repository at this point in the history
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 actions/first-interaction#10
  • Loading branch information
omurilo committed May 7, 2020
1 parent de6a540 commit 9358bd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
- name: Audit
run: |
npm install
npm audit
npm audit fix
3 changes: 1 addition & 2 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Greetings

on: [pull_request, issues]
on: [issues]

jobs:
greeting:
Expand All @@ -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! 🚀'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9358bd1

Please sign in to comment.