Skip to content

Test tracker

Test tracker #42

Workflow file for this run

name: Test tracker
on:
push:
schedule:
- cron: '0 0 1 * *'
jobs:
test_issue_tracker:
runs-on: ubuntu-latest
name: A job to test issue tracker
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Track issues
id: tracking
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Git commit
run: |
# git commit if there's any change
if test -n "$(git status --porcelain 2>/dev/null)"; then
git config --global user.email "idegorepl@gmail.com"
git config --global user.name "ActionCloud Bot"
git add .
git commit -m "Update forks data"
git push
fi
- name: Check output
run: echo '${{ steps.tracking.outputs.actioncloud-badge }}'