File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rebuild registry files
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ paths :
7
+ - ' mapping-server.yml'
8
+ - ' scripts/cli.py'
9
+ schedule :
10
+ - cron : " 0 0 1 * *"
11
+ workflow_dispatch :
12
+
13
+ jobs :
14
+ build_registry :
15
+ runs-on : ubuntu-latest
16
+ container : obolibrary/odkfull:v1.5.3
17
+
18
+ steps :
19
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20
+ - uses : actions/checkout@v3
21
+
22
+ - name : Rebuild all registry files
23
+ env :
24
+ DEFAULT_BRANCH : main
25
+ run : make all -B
26
+
27
+ - name : Create Pull Request
28
+ uses : peter-evans/create-pull-request@v3
29
+ with :
30
+ commit-message : Update registry files
31
+ title : ' Update all registry files'
32
+ body : |
33
+ Updates all registry release files.
34
+ assignees : matentzn
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ def prepare_mapping_registry(registry_file, output_file):
68
68
mapping_set_title = mapping_table .metadata .get ("mapping_set_title" , mapping_set_id )
69
69
mapping_set_description = mapping_table .metadata .get ("mapping_set_description" , "No description available" )
70
70
mapping_provider = mapping_table .metadata .get ("mapping_provider" , "No provider information available" )
71
+ issue_tracker = mapping_table .metadata .get ("issue_tracker" , "No issue tracker available" )
71
72
72
73
# Add to registry entry
73
74
registry_entry ["mapping_sets" ].append ({
@@ -79,6 +80,7 @@ def prepare_mapping_registry(registry_file, output_file):
79
80
"mapping_set_title" : mapping_set_title ,
80
81
"mapping_set_description" : mapping_set_description ,
81
82
"mapping_provider" : mapping_provider ,
83
+ "issue_tracker" : issue_tracker ,
82
84
})
83
85
84
86
# Add registry entry to combined data
You can’t perform that action at this time.
0 commit comments