File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto-update community members page
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ # At 03:41, every day
7
+ - cron : 41 3 * * *
8
+
9
+ jobs :
10
+ auto-update-versions :
11
+ name : Auto-update community members page
12
+ runs-on : ubuntu-24.04
13
+ # Remove the if statement below when testing againt a fork
14
+ if : github.repository == 'open-telemetry/opentelemetry.io'
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Set up Node.js
20
+ uses : actions/setup-node@v3
21
+ with :
22
+ node-version : ' 22'
23
+
24
+ - name : Install dependencies
25
+ working-directory : ./scripts/generate-community-data
26
+ run : npm install
27
+
28
+ - name : Run script
29
+ working-directory : ./scripts/generate-community-data
30
+ run : node generate.js ../../data/community/members.yaml
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
33
+
34
+ - name : Create pull request
35
+ uses : peter-evans/create-pull-request@v7
36
+ with :
37
+ add-paths : ' data/community/members.yaml'
38
+ committer :
39
+ opentelemetrybot
40
+
41
+ token : ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
42
+ branch : update-community-members
43
+ title : Update community members
44
+ body : |
45
+ This pull request contains automated updates to files by the GitHub Action.
You can’t perform that action at this time.
0 commit comments