Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb15a6f3

Browse files
committed
End-User meta WF added
1 parent1ce3bcf commitb15a6f3

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name:Consistent End-User Meta
2+
3+
on:
4+
push:
5+
branches:
6+
-main
7+
paths:
8+
-README.md
9+
workflow_dispatch:
10+
11+
jobs:
12+
meta-update:
13+
runs-on:ubuntu-latest
14+
steps:
15+
-uses:actions/checkout@v4.1.7
16+
17+
-name:Set up Node.js
18+
uses:actions/setup-node@v4.0.2
19+
with:
20+
node-version:"20"
21+
22+
-name:Install dependencies
23+
run:|
24+
npm install --production node-html-parser marked @octokit/rest
25+
26+
-name:Download Hero program
27+
run:|
28+
curl -o update-meta.js https://raw.githubusercontent.com/darsan-in/.github/main/utils/update-meta.js
29+
30+
-name:Update meta
31+
env:
32+
GITHUB_TOKEN:${{ secrets.META_UPDATE_KEY }}
33+
REPO_META:${{ github.repository }}
34+
run:|
35+
node update-meta.js
36+
37+
-name:Commit and push changes
38+
env:
39+
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
40+
run:|
41+
git config --global user.name 'github-actions[bot]'
42+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
43+
git add package.json
44+
git commit -m 'End-User Meta updated'
45+
git push

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp