From 52825003a718488d4a272ef14f67165386e7a974 Mon Sep 17 00:00:00 2001 From: dexter2206 Date: Wed, 1 Jun 2022 17:39:17 +0000 Subject: [PATCH] Remove unneeded SSH keys, SSH setup steps and Codecov tokens --- .github/workflows/coverage.yml | 12 ------------ .github/workflows/publish_release.yml | 10 ---------- .github/workflows/style.yml | 10 ---------- 3 files changed, 32 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 365bd8f..dce406b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,19 +34,7 @@ jobs: with: repository: zapatacomputing/orquestra-quantum path: orquestra-quantum - ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - - # ------------------------------------------------------------------------ - # Loads private SSH key to the SSH agent. Allows to install dependencies - # from private git repos, but requires setting `secrets.SSH_PRIVATE_KEY` - # in repo settings. - # ------------------------------------------------------------------------ - # - uses: ./subtrees/z_quantum_actions/actions/ssh_setup - # with: - # ssh_key: ${{ secrets.SSH_PRIVATE_KEY }} - uses: ./subtrees/z_quantum_actions/actions/coverage - with: - codecov_secret: ${{ secrets.CODECOV_TOKEN }} env: ZAPATA_IBMQ_API_TOKEN: ${{ secrets.ZAPATA_IBMQ_API_TOKEN }} diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 66cdf0b..9911442 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -20,21 +20,11 @@ jobs: # version. fetch-depth: 0 - # ------------------------------------------------------------------------ - # Loads private SSH key to the SSH agent. Allows to install dependencies - # from private git repos, but requires setting `secrets.SSH_PRIVATE_KEY` - # in repo settings. - # ------------------------------------------------------------------------ - - uses: ./subtrees/z_quantum_actions/actions/ssh_setup - with: - ssh_key: ${{ secrets.SSH_PRIVATE_KEY }} - - name: Get orquestra-quantum uses: actions/checkout@v2 with: repository: zapatacomputing/orquestra-quantum path: orquestra-quantum - ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Run publish release action uses: ./subtrees/z_quantum_actions/actions/publish-release diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 78151de..77b1ae8 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -34,16 +34,6 @@ jobs: with: repository: zapatacomputing/orquestra-quantum path: orquestra-quantum - ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - - # ------------------------------------------------------------------------ - # Loads private SSH key to the SSH agent. Allows to install dependencies - # from private git repos, but requires setting `secrets.SSH_PRIVATE_KEY` - # in repo settings. - # ------------------------------------------------------------------------ - # - uses: ./subtrees/z_quantum_actions/actions/ssh_setup - # with: - # ssh_key: ${{ secrets.SSH_PRIVATE_KEY }} # Installs project, checks codestyle - uses: ./subtrees/z_quantum_actions/actions/style