Skip to content

Commit

Permalink
[nc] remove env action. Insecure."
Browse files Browse the repository at this point in the history
Signed-off-by: Nic Cheneweth <[email protected]>
  • Loading branch information
ncheneweth committed May 15, 2024
1 parent bef8d7f commit 72b854a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 62 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,3 @@ jobs:
run: |
set -exo pipefail
cat named_email.txt | grep "twdps"
- name: source $GITHUB_ENV from file using 1password-action/env
uses: ThoughtWorks-DPS/1password-action/env@main
with:
env-file: test/op.env

- name: test 1password-action/env results
shell: bash
run: |
set -exo pipefail
echo $GMAIL_ADDRESS | grep "twdps"
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,6 @@

Action for common 1password-cli uses.

### env

`source` ENV values from 1password Vault into GitHub Actions $GITHUB_ENV from a local file.

example bash env-file format:

TFE_TOKEN=op://my-vault/terrafor-cloud/team-token
SLACK_BOT_TOKEN=op://my-vault/slack/bot-token

```yaml
- name: source $GITHUB_ENV from file using 1password-action/env
uses: ThoughtWorks-DPS/1password-action/[email protected]
with:
env-file: prod.env
```
### tpl

Populate template file with values from 1password vault and write to out-file.
Expand Down
35 changes: 0 additions & 35 deletions env/action.yaml

This file was deleted.

0 comments on commit 72b854a

Please sign in to comment.