File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Automatically update Node.js team release keys
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 12 * * 1'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ if : github.repository_owner == 'nodejs'
12+ permissions :
13+ pull-requests : write
14+
15+ steps :
16+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17+
18+ - name : Run automation script
19+ run : ./update-keys.sh
20+
21+ - name : Create update PR
22+ uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
23+ with :
24+ token : ${{ secrets.GH_API_TOKEN }}
25+ author : ' Node.js GitHub Bot <nodejs-github-bot@users.noreply.github.com>'
26+ branch : keys-branch
27+ base : main
28+ commit-message : ' chore: Node.js release key sync'
29+ title : ' chore: Node.js release key sync'
30+ body : Open based on changes from `update-keys.sh`. For details on whose key is changing, look at https://github.com/nodejs/node#release-keys
31+ delete-branch : true
32+ team-reviewers : |
33+ nodejs/docker
34+ nodejs/releasers
Original file line number Diff line number Diff line change 1+ name : Node.js Release Key Check
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - keys/node.keys
7+ - .github/workflows/node-keys.yml
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ if : github.repository_owner == 'nodejs'
16+
17+ steps :
18+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
19+
20+ - name : Run automation script
21+ run : ./update-keys.sh
22+
23+ - name : Ensure no git changes
24+ run : git diff --exit-code
You can’t perform that action at this time.
0 commit comments