Skip to content

Commit

Permalink
fix: solve Resource not accessible by integration
Browse files Browse the repository at this point in the history
This PR #150 failed with this message:

Adding message: Thanks for opening your first pull request 😊 ! We really appreciate your work. Happy Coding πŸŽ‰πŸŽŠ ! to pull request 150
Error: Resource not accessible by integration

After investigating this first-interaction issue actions/first-interaction#31 , we decided to apply these changes.

This article from Github also looks good.
  • Loading branch information
FanJups authored Oct 8, 2022
1 parent 735837d commit aacf17d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: Greetings
on: [pull_request, issues]
#on: [pull_request, issues]
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
#permissions:
#pull-requests: write
#issues: write
steps:
- uses: actions/first-interaction@v1
# At this moment, this GitHub Action has an issue: https://github.com/actions/first-interaction/issues/101
Expand Down

0 comments on commit aacf17d

Please sign in to comment.