From 219c48b976022ad5dcd3d99b13707e40abcf8446 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 20 Jan 2020 09:22:40 +0000 Subject: [PATCH] Add dashboard access token --- .github/workflows/donate.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/donate.yml b/.github/workflows/donate.yml index 764db56..ba71870 100644 --- a/.github/workflows/donate.yml +++ b/.github/workflows/donate.yml @@ -4,14 +4,17 @@ on: issues: types: [opened, closed] schedule: - - cron: '45 * * * *' # for updating balance + - cron: '35 * * * *' # for updating balance jobs: comment: runs-on: ubuntu-latest steps: - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the scope is current repository only + # https://github.com/jollheef/donate/blob/master/dashboard/whitelist.go + DASHBOARD_ACCESS_TOKEN: ${{ secrets.DONATE_DASHBOARD_ACCESS_TOKEN }} + # the scope is current repository only + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TOOL: "https://github.com/jollheef/donate/archive/master.tar.gz" run: | curl https://nixos.org/nix/install | sh