name: List Infisical Secrets on: push: branches: [ main ] workflow_dispatch: jobs: list-secrets: runs-on: ubuntu-latest container: image: docker.gitea.com/runner-images:ubuntu-latest options: --network host steps: - name: Fetch Secrets from Infisical uses: https://github.com/Infisical/secrets-action@v1.0.7 with: client-id: ${{ secrets.INFISICAL_CLIENT_ID }} client-secret: ${{ secrets.INFISICAL_CLIENT_SECRET }} project-id: ${{ secrets.INFISICAL_PROJECT_ID }} env-slug: prod secret-path: /Discord_bot domain: https://infisical.lemarechal.eu - name: Display Secrets run: | echo "Secrets fetched and injected as environment variables." env | grep -v "GITHUB_" | grep -v "GITEA_" | sort