🐞 最新版本, 划词翻译一直索要权限, 不可使用 #2060
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Greetings | |
on: [pull_request_target, issues] | |
jobs: | |
greeting: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- uses: actions/first-interaction@v1 | |
# fix run error: https://github.com/actions/first-interaction/issues/101#issuecomment-1262487501 | |
continue-on-error: true | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: "Hello ${{ github.actor }}, Thank you for your first issue contribution 🎉 " | |
pr-message: "Hello ${{ github.actor }}, Thank you for your first PR contribution 🎉 ${{ github.actor }}" |