From aa24ea0dc3d8d41218158ddc9a032de946c00ecf Mon Sep 17 00:00:00 2001 From: Edmund Miller <20095261+edmundmiller@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:56:01 -0500 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matthias Hörtenhuber --- .github/workflows/repos.yml | 13 +------------ docs/1password.md | 11 ++++++++--- pulumi/github/repos/Pulumi.yaml | 2 +- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/repos.yml b/.github/workflows/repos.yml index b7b17b8..74f7eca 100644 --- a/.github/workflows/repos.yml +++ b/.github/workflows/repos.yml @@ -41,6 +41,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 + cache: 'pip' - run: pip install -r requirements.txt working-directory: ${{ env.PULUMI_WORKING_DIRECTORY }} @@ -61,15 +62,3 @@ jobs: stack-name: ${{ env.PULUMI_STACK_NAME }} work-dir: ${{ env.PULUMI_WORKING_DIRECTORY }} - # If you'd like to run your Pulumi application outside of the official GitHub Action - - #- name: Install Pulumi CLI - # uses: pulumi/setup-pulumi@v2 - - #- name: PR previews - # run: pulumi preview -s $PULUMI_STACK_NAME --cwd $PULUMI_WORKING_DIRECTORY - # if: ${{ github.event_name == 'pull_request' }} - - #- name: Apply infrastructure update - # run: pulumi update --yes -s $PULUMI_STACK_NAME --cwd $PULUMI_WORKING_DIRECTORY - # if: ${{ github.event_name == 'push' }} diff --git a/docs/1password.md b/docs/1password.md index 757d666..6159912 100644 --- a/docs/1password.md +++ b/docs/1password.md @@ -5,12 +5,17 @@ [How to use 1Password with different accounts automatically](https://developer.1password.com/docs/cli/shell-plugins/multiple-accounts/) ```console -$ cd ~/src/nf-core +cd ~/src/nf-core + +op signin -~/src/nf-core $ op signin # Select nf-core -~/src/nf-core $ op plugin init pulumi +op plugin init pulumi +``` + +This should result in: +``` Pulumi CLI Authenticate with Pulumi Personal Access Token. diff --git a/pulumi/github/repos/Pulumi.yaml b/pulumi/github/repos/Pulumi.yaml index 6154903..ea14373 100644 --- a/pulumi/github/repos/Pulumi.yaml +++ b/pulumi/github/repos/Pulumi.yaml @@ -3,4 +3,4 @@ runtime: name: python options: virtualenv: venv -description: Managing GitHub repos +description: Managing nf-core GitHub repos