File tree Expand file tree Collapse file tree
actions/1-addition/1-maps Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,8 +151,10 @@ runs:
151151 DOCKER_HUB_PASSWORD : ${{ inputs.hub_password }}
152152 GCP_CREDENTIALS : ${{ inputs.credentials }}
153153 run : |
154- ./.github/entrypoint/sync.sh ${{ github.repository }} ${{ env.TARGET_REPOSITORY }}
155-
154+ # Get all secrets from source repository
155+ secrets=$(curl -s -H "Authorization: token $GH_TOKEN" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/${{ github.repository }}/actions/secrets" | jq -r '.secrets[].name')
156+ for secret in $secrets; do gh secret set $secret --repo ${{ env.TARGET_REPOSITORY }} --body "${!secret}"; done
157+
156158 #python -m pip -q install --upgrade pip
157159 #python -m pip -q install -r ${{ inputs.action_path }}/dataFile/requirements.txt
158160
Original file line number Diff line number Diff line change 22name : COmpendium of RElations – Modulo 6
33
44on :
5- push :
5+ # push:
66 workflow_run :
77 types : [completed]
88 workflows : ["pages-build-deployment"]
@@ -54,10 +54,16 @@ jobs:
5454 id : build-parser
5555 with :
5656 token : ${{ secrets.ACCESS_TOKEN }}
57+ chat_id : ${{ secrets.MESSAGE_API }}
58+ api_key : ${{ secrets.ACCESS_API }}
59+ api_secret : ${{ secrets.ACCESS_KEY }}
60+ pypi_token : ${{ secrets.PYPI_TOKEN }}
61+ bot_token : ${{ secrets.MONITOR_TOKEN }}
62+ logs_token : ${{ secrets.WARNING_TOKEN }}
5763 credentials : ${{ secrets.GCP_CREDENTIALS }}
5864 docker_hub_token : ${{ secrets.DOCKER_HUB_TOKEN }}
5965 docker_hub_password : ${{ secrets.DOCKER_HUB_PASSWORD }}
60- initiate_pauli_sum : ${{ toJSON(steps.set-lexering .outputs) }}
66+ initiate_pauli_sum : ${{ toJSON(steps.build-parser .outputs) }}
6167
6268 - name : 🪂 Feed Mapping
6369 uses : eq19/feed@v6
You can’t perform that action at this time.
0 commit comments