Add dashboard access token

This commit is contained in:
Mikhail Klementev 2020-01-20 09:22:40 +00:00
parent c68f3bf10d
commit 219c48b976
No known key found for this signature in database
GPG key ID: BE44DA8C062D87DC

View file

@ -4,14 +4,17 @@ on:
issues: issues:
types: [opened, closed] types: [opened, closed]
schedule: schedule:
- cron: '45 * * * *' # for updating balance - cron: '35 * * * *' # for updating balance
jobs: jobs:
comment: comment:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- env: - 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" TOOL: "https://github.com/jollheef/donate/archive/master.tar.gz"
run: | run: |
curl https://nixos.org/nix/install | sh curl https://nixos.org/nix/install | sh