Test - [Feature request] Android 增加一个权限状态检查的接口,用来判断是否需要给权限弹框做提示 #5
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: Test Issue Triage Bot | |
# Run when an issue is created. | |
on: | |
issues: | |
types: | |
- opened | |
# All permissions not specified are set to 'none'. | |
permissions: | |
issues: write | |
jobs: | |
triage_issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: fluttercandies/triage_bot_for_flutter_photo_manager | |
- uses: dart-lang/setup-dart@v1 | |
- run: dart pub get | |
working-directory: pkgs/issue_triage_bot | |
# Delay 1 minutes to allow a grace period between opening or transferring | |
# an issue and assigning a label. | |
- name: sleep 1m | |
run: sleep 60 | |
- name: triage issue | |
working-directory: pkgs/issue_triage_bot | |
env: | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} | |
GOOGLE_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
run: dart bin/triage.dart $ISSUE_URL |