Skip to content

Commit

Permalink
Add Github details workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWuensche committed Jul 8, 2024
1 parent a613343 commit c211707
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/OpenData_Workfow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,27 @@ jobs:
build:
uses: robert-koch-institut/OpenData-Workflows/.github/workflows/OpenData_Workflows.yml@main
with:
# General Variables
ZENODOJSON_PATH: Metadaten/zenodo.json

# Push to OpenCoDE
OPENCODE_ACTIVE: true
OPENCODE_GROUPID: 2781
OPENCODE_ACCESS_USER: RKIOpenData
OPENCODE_ZENODOJSON_PATH: Metadaten/zenodo.json

# Push to GovData Repositoy
GOVDATA_ACTIVE: true
GOVDATA_DESTINATION_REPO: robert-koch-institut/Metadaten_fuer_GovData
GOVDATA_DESTINATION_REPO: RKIOpenData/Metadaten_fuer_GovData

# Push to NFDI4Health
NFDI4HEALTH_ACTIVE: true

#Build Open Data Website
WEBSITE_ACTIVE: true

#Update Github Details
GITHUB_DETAILS_ACTIVE: true


secrets:
# Token from GovData Repository
Expand All @@ -38,3 +44,4 @@ jobs:

# Github Token
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_METADATA_TOKEN: ${{secrets.ADMINISTRATION_TOKEN}}
13 changes: 13 additions & 0 deletions .github/workflows/Update_github_details.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Manually update Github repository details
on:
workflow_dispatch:

jobs:
update-github-repository-details :
runs-on: ubuntu-latest
steps:
- name: Update Github repository details weith zenodo.json metadata
uses: robert-koch-institut/OpenData-Workflows/Update_details_on_Github@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_METADATA_TOKEN: ${{ secrets.ADMINISTRATION_TOKEN }}

0 comments on commit c211707

Please sign in to comment.