name: blackbox-decrypt on: workflow_call: secrets: gpg-key: required: true type: string jobs: blackbox-decrypt: name: Blackbox Decrypt runs-on: ubuntu-latest steps: - name: Clone blackbox repo uses: actions/checkout@v4 with: repository: xaked/blackbox path: blackbox ref: master - name: Install blackbox shell: bash run: | cd blackbox || exit 1; make copy-install; cd ${{ github.workspace }}; rm -rf blackbox; - name: Decrypt secrets shell: bash run: | echo ${{ secrets.gpg-key }} | base64 -d | gpg --import; blackbox_decrypt_all_files;