Eddy Filip
f4a99d4598
Make small edits
2023-04-20 20:50:59 +02:00
Eddy Filip
9c1afd6054
Adjust action versions used in examples
...
In this way we keep them relevant with the latest versions
2023-04-20 18:53:49 +02:00
Eddy Filip
a02ee663cc
Add documentation for service accounts
2023-04-20 18:50:07 +02:00
Eduard Filip
663ac229cb
Merge pull request #37 from 1Password/eddy/improve-pipelines
...
Improve pipelines
2023-04-11 10:42:15 +02:00
Eddy Filip
9bb44334eb
Compress tests
...
Since we use matrices now for os and authentication type, we’ve optimized the yaml file to have only 3 jobs, each one making 3 separate piepeline tests (2 for service accounts, 1 for Connect)
2023-04-10 16:52:51 +02:00
Eddy Filip
1ec261f63f
exclude macos runners for Connect tests
2023-04-10 16:46:08 +02:00
Eddy Filip
2e386ac304
Try an authentication matrix
2023-04-10 16:37:39 +02:00
Eddy Filip
0b706bbe43
Add os matrix for tests
2023-04-10 16:12:29 +02:00
Eddy Filip
e23df52c69
Update checkout version
2023-04-10 16:10:52 +02:00
Dustin Ruetz
ade3078eb5
Tooling improvements ( #34 )
...
* feat: update tsconfig, uninstall vercel/ncc package and use tsc to build project
* feat: install 1password/front-end-style and configure Prettier
* feat: configure ESLint and fix lint errors
* build(deps): update types/node package to latest version
* feat: configure Jest
* feat: add 'validate' script to run formatting/linting/testing/building all together
* build: rebuild the dist/index.js file
* feat: make NPM scripts more granular
* refactor: make it clearer that Prettier config is being loaded from an existing dependency
* feat: add Husky and lint-staged to run pre-commit and pre-push checks
* fix: lint-staged testing step and Jest config file
* build(deps): update types/node package to latest version
* refactor: remove findrelated test script
* fix: move tsconfig.json to root directory, reinstall vercel/ncc for building
* fix: call to run function in index.ts
* build: rebuild the dist/index.js file
* fix: replace CommonJS __dirname with an ESModule equivalent
* fix: ignore config/.husky during ShellCheck
* fix: ignore .husky directory during ShellCheck
* fix: update lint.yml config to match ShellCheck README.md
* fix: remove coveragePathIgnorePatterns option from Jest config since node_modules is already the default value
* refactor: use './' prefix to refer to folders in the current directory in tsconfig.json
* fix: handle edge case where Error constructor is modified and add comments for context
* feat: bump package.json version to 1.2.0 to match current release
* fix: update lint.yml to use ShellCheck 2.0.0 exact version
* build(deps): update types/node package to latest version
* fix: update package-lock.json version 1.2.0
* feat: remove pre-commit and pre-push NPM scripts to simplify package.json
* fix: remove empty 'Default' column from 'configure Action Inputs' table
* fix: change the default values in action.yml to strings as per YAML validation
2023-03-29 11:34:37 -04:00
Eduard Filip
4ee6567f7b
Merge pull request #35 from 1Password/fix/docs-link
...
Fix documentation link
2023-03-24 16:18:13 +01:00
Eddy Filip
27b96b5fd8
Fix documentation link
2023-03-24 13:32:26 +01:00
Eduard Filip
14687e434a
Enable installing the CLI on MacOS runners without sudo privileges ( #32 )
2023-03-08 12:17:03 +01:00
Eduard Filip
1a17146422
Merge pull request #28 from mamercad/permission-denied-usr-local-bin
...
Use temp directory for `op` (versus static `/usr/local/bin`)
2023-03-07 13:01:50 +01:00
Eduard Filip
94dcd16f05
Merge pull request #31 from 1Password/revert-29-environment-file-output
...
Revert "Use environment file to manage output instead of `set-output`"
2023-03-03 15:08:49 +01:00
Eduard Filip
4cd70e1a09
Revert "Use environment file to manage output instead of set-output"
2023-03-03 12:11:10 +01:00
Eduard Filip
b30803866e
Merge pull request #29 from Manokii/environment-file-output
...
Use environment file to manage output instead of `set-output`
2023-03-01 18:06:39 +01:00
Eduard Filip
feb6ed7c04
Merge pull request #30 from 1Password/update-packages
...
Update packages
2023-03-01 14:26:05 +01:00
Eddy Filip
d669a8ba06
Update packages
2023-03-01 12:29:55 +01:00
Jasper Concepcion
936f62b7d9
fix: use environment file to manage output
...
resolves 1Password/load-secrets-action#27
2023-02-14 00:13:38 +08:00
Mark Mercado
95681075d8
Use temp directory for op (versus static /usr/local/bin)
2023-01-29 09:46:53 -05:00
Eduard Filip
0a7975f916
Ensure that the action is backwards-compatible ( #25 )
...
Run acceptance tests / use-connect-without-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-references-with-id (push) Has been cancelled
Run acceptance tests / use-service-account-without-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-references-with-id (push) Has been cancelled
Run acceptance tests / run-on-macos-12 (push) Has been cancelled
Bring 2 changes that ensure that the GitHub Action is backwards compatible:
- Append `http://` if the prefix is not provided in the `OP_CONNECT_HOST` (this is caused by the fact that `curl` guesses the protocol if not provided (https://linux.die.net/man/1/curl ), which we missed when switching to using the 1Password CLI as the backend of the action)
- Set the default of export-env to true, since that was the default behavior of the action until we added the possibility to export secrets as step's output.
Also, the documentation is adjusted to reflect these changes.
v1.2.0
2022-12-22 12:46:28 +02:00
volodymyrZotov
ffba2a6966
Merge pull request #21 from simonwhitaker/simon/quote-ref
...
Run acceptance tests / use-connect-without-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-references-with-id (push) Has been cancelled
Run acceptance tests / use-service-account-without-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-references-with-id (push) Has been cancelled
Run acceptance tests / run-on-macos-12 (push) Has been cancelled
Quote $ref to avoid word splitting
v1.1.2
2022-12-16 16:44:11 +02:00
Simon Whitaker
2ee4979efa
Quote $ref to avoid word splitting
2022-12-16 14:40:27 +00:00
Eduard Filip
7903600d82
Merge pull request #22 from 1Password/feat/user-agent-info
...
Run acceptance tests / use-connect-without-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-references-with-id (push) Has been cancelled
Run acceptance tests / use-service-account-without-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-references-with-id (push) Has been cancelled
Run acceptance tests / run-on-macos-12 (push) Has been cancelled
Pass User-Agent Information to the 1Password CLI
v1.1.1
2022-12-14 17:19:34 +01:00
Eddy Filip
fbf9be8f55
Pass User-Agent Information to the 1Password CLI
2022-12-14 14:57:06 +02:00
Eddy Filip
5a04ae581c
Update 1Password CLI to the latest version
2022-12-14 14:49:33 +02:00
Eduard Filip
747c0b5974
Merge pull request #19 from 1Password/ekmoore-readme-update
...
Add link to README
2022-12-07 07:40:25 +01:00
Erin Moore
c0fbfd88d3
Added link to developer.1password.com
...
Added link to GitHub Actions article on https://developer.1password.com/ci-cd/github-actions
2022-12-06 13:57:18 -05:00
Eduard Filip
3f3d1e45cb
Merge pull request #18 from 1Password/eddy/rand-64
...
Make openssl generate a 64-character string as mentioned in comment
2022-10-17 19:03:05 +02:00
Eddy Filip
b73c8a7ca6
Make openssl generate a 64-character string as mentioned in comment
2022-10-17 18:22:43 +02:00
Jillian W
da6de9b6b3
Merge pull request #16 from 1Password/remove-service-account-docs
...
Run acceptance tests / use-connect-without-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-references-with-id (push) Has been cancelled
Run acceptance tests / use-service-account-without-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-references-with-id (push) Has been cancelled
Run acceptance tests / run-on-macos-12 (push) Has been cancelled
Removing mention of service accounts from the readme documentation
v1.1.0
2022-09-07 15:39:32 -03:00
jillianwilson
7610c5737f
Remoning mention of service accounts from the readme documentation
2022-09-07 15:16:27 -03:00
Eduard Filip
30b5930e91
Merge pull request #15 from 1Password/update-package-lock
...
Update package-lock.json
2022-08-31 18:47:22 +02:00
Eddy Filip
c2c5cda6a2
Update package-lock.json
2022-08-31 18:39:52 +02:00
Eduard Filip
351ed34750
Merge pull request #14 from 1Password/update-dependencies
...
Update package dependencies
2022-08-31 15:07:41 +02:00
Eddy Filip
be04d82018
Update package dependencies
2022-08-31 12:03:43 +02:00
volodymyrZotov
8c15b6c54d
Merge pull request #5 from 1Password/feature/add-cli
...
Add the op CLI in the script
2022-08-30 10:53:31 +03:00
volodymyrZotov
cb83ae04bf
improved readme
2022-08-30 10:51:22 +03:00
volodymyrZotov
e3b137e007
added macos test case
2022-08-19 14:02:58 +03:00
volodymyrZotov
30def81a24
added macos installer reference
2022-08-19 14:01:55 +03:00
volodymyrZotov
ed1f9a48af
use op cli to fetch secrets for connect
2022-08-19 14:00:33 +03:00
volodymyrZotov
b1b82d7384
updated gitignore
2022-08-19 11:48:08 +03:00
volodymyrZotov
a37c95c8d0
Merge branch 'feature/add-cli' of github.com:1Password/load-secrets-action into feature/add-cli
2022-08-17 18:07:40 +03:00
volodymyrZotov
aaee1916c6
updated README
2022-08-17 18:07:07 +03:00
Eddy Filip
c53c263a7e
Add service account token in env
...
It was accidentally removed
2022-08-16 14:05:33 +01:00
Eddy Filip
7d858c7ad5
Make dedicated tests for secret references with IDs
...
The item and vault IDs are changed as well.
2022-08-16 13:38:07 +01:00
volodymyrZotov
ce8b31d0b9
added more secrets to test
2022-08-15 18:21:18 +03:00
volodymyrZotov
2ac8886444
fixed multiline secret ref
2022-08-15 18:18:33 +03:00
volodymyrZotov
641b0d93ec
use ids for multiline secret
2022-08-15 18:14:55 +03:00