Skip to content

Monitor Activity

Monitor Activity #284

Workflow file for this run

name: Monitor Activity
on:
schedule:
- cron: "0 */4 * * *"
workflow_dispatch:
permissions:
contents: write
issues: write
concurrency:
group: monitor
cancel-in-progress: false
jobs:
check:
runs-on: ubuntu-24.04
env:
GH_TOKEN: ${{ github.token }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
steps:
- uses: actions/checkout@v7
- name: Check tracked issues/PRs for new activity
run: python3 oss-contribution-tracker/monitor.py
- name: Commit state if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add oss-contribution-tracker/monitor_state.json
if git diff --cached --quiet; then
echo "no changes"
else
git commit -m "monitor: update state [skip ci]"
git push
fi