Skip to content

Fetch tinuous CI logs #1237

Fetch tinuous CI logs

Fetch tinuous CI logs #1237

Workflow file for this run

name: Fetch tinuous CI logs
on:
schedule:
- cron: '0 0 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/checkout@v4
with:
path: tinuous-inception
- name: Checkout con/tinuous
uses: actions/checkout@v4
with:
repository: con/tinuous
path: tinuous
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '^3.8'
- name: Install tinuous dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install ./tinuous
- name: Run tinuous
run: tinuous fetch
working-directory: tinuous-inception
env:
GITHUB_TOKEN: ${{ secrets.DANDIBOT_GITHUB_TOKEN }}
TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }}
APPVEYOR_TOKEN: ${{ secrets.APPVEYOR_TOKEN }}
CIRCLECI_CLI_TOKEN: ${{ secrets.CIRCLECI_CLI_TOKEN }}
- name: Commit & push
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add --all
if ! git diff --quiet --cached
then git commit -m 'Ran tinuous'
git push
else echo "No changes to commit"
fi
working-directory: tinuous-inception
# vim:set sts=2: