File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # For more information, see
2+ # https://github.com/fluttercandies/triage_bot_for_flutter_photo_manager
3+ name : Issue Triage Bot
4+
5+ # Run when an issue is created.
6+ on :
7+ issues :
8+ types :
9+ - opened
10+
11+ # All permissions not specified are set to 'none'.
12+ permissions :
13+ issues : write
14+
15+ jobs :
16+ triage-issues :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+ with :
21+ repository : fluttercandies/triage_bot_for_flutter_photo_manager
22+ - uses : dart-lang/setup-dart@v1
23+ - run : dart pub get
24+ working-directory : pkgs/issue_triage_bot
25+
26+ # Delay 2 minutes to allow a grace period between opening or transferring
27+ # an issue and assigning a label.
28+ - name : sleep 2m
29+ run : sleep 120
30+
31+ - name : triage issue
32+ working-directory : pkgs/issue_triage_bot
33+ env :
34+ ISSUE_URL : ${{ github.event.issue.html_url }}
35+ GITHUB_TOKEN : ${{ secrets.TRIAGE_BOT_TOKEN }}
36+ GEMINI_API_KEY : ${{ secrets.TRIAGE_BOT_API_KEY }}
37+ run : dart bin/triage.dart $ISSUE_URL --release
You can’t perform that action at this time.
0 commit comments