-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (49 loc) · 1.75 KB
/
Copy pathsync.yml
File metadata and controls
60 lines (49 loc) · 1.75 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Refresh GitHub portfolio data
on:
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
concurrency:
group: portfolio-data-refresh
cancel-in-progress: false
jobs:
refresh:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out source
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.0.2
- name: Set up Node.js
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.1.0
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Refresh public GitHub evidence
run: npm run sync:github
env:
GH_TOKEN: ${{ github.token }}
- name: Install Chromium
run: npx playwright install --with-deps chromium
- name: Verify refreshed source and site
run: npm run verify
- name: Open or update review pull request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
token: ${{ github.token }}
branch: automation/github-portfolio-sync
delete-branch: true
sign-commits: true
commit-message: "fix(data): refresh GitHub contribution inventory"
title: "fix(data): refresh GitHub contribution inventory"
body: |
Automated weekly refresh of public repository metadata and commit evidence.
The sync and complete local verification suite passed before this pull request was created. This pull request is intentionally not auto-merged.
labels: automated,portfolio-data
add-paths: |
README.md
src/data/portfolio.generated.json