Don't leak GH token in token.txt (#155) #137
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: CI | |
on: | |
schedule: | |
# twice a week, on sundays, fridays at 8:00am UTC | |
- cron: "0 8 * * 0,5" | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup bats | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.6.0 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: make test | |
env: | |
GH_TOC_TOKEN: ${{ secrets.GITHUB_TOKEN }} |