这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,22 @@
# separate terms of service, privacy policy, and support
# documentation.


name: Update database

on:
push:
branches:
- main
schedule:
- cron: '0 14 * * 1-5' # Every workday at 14:00 UTC
- cron: '0 */3 * * *' # Every 3 hours
- cron: '0 0 * * 0' # Once a week, at 00:00 UTC

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603

- name: Install dependencies
Expand All @@ -30,5 +29,5 @@ jobs:
run: dart run bin/dart_triage_updater.dart --update issues,pullrequests --api-key=${{ secrets.API_KEY }}

- name: Update googlers
if: github.event.schedule != '0 14 * * 1-5'
if: github.event.schedule == '0 0 * * 0'
run: dart run bin/dart_triage_updater.dart --update googlers --api-key=${{ secrets.API_KEY }}