-
-
Notifications
You must be signed in to change notification settings - Fork 11
29 lines (24 loc) · 817 Bytes
/
weekly-activity.yml
File metadata and controls
29 lines (24 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Weekly Activity Update
on:
schedule:
- cron: "0 3 * * 1" # Every Monday (UTC)
workflow_dispatch:
jobs:
update-activity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update activity log
run: |
echo "# Project Activity Log" > ACTIVITY.md
echo "" >> ACTIVITY.md
echo "This project is actively maintained." >> ACTIVITY.md
echo "" >> ACTIVITY.md
echo "Last updated: $(date -u)" >> ACTIVITY.md
- name: Commit changes
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git add ACTIVITY.md
git commit -m "chore: weekly maintenance update" || echo "No changes to commit"
git push