Eduard Filip 06962f2427 Switch to new lint packages (#89)
In Oct 2023, @1password/front-end-style has been rewritten into 3 smaller packages:
- @1password/eslint-config
- @1password/prettier-config
- @1password/stylelint-config

These 3 new packages have the same configurations as the previous package, with the benefits of being up-to-date and better organized. In the case of this GitHub Action, we only need the first two. The last one is dedicated to CSS stylling, which is not used in this action. Therefore, we will replace the deprecated @1password/front-end-style with the following packages:
- @1password/eslint-config
- @1password/prettier-config
2024-12-18 14:35:41 +01:00
2024-02-21 17:38:38 +01:00
2024-03-20 15:06:34 +01:00
2024-12-17 11:05:12 +01:00
2021-05-20 17:13:25 +02:00
2023-03-29 11:34:37 -04:00
2024-02-21 17:38:38 +01:00
2024-12-17 11:05:12 +01:00
2021-05-20 21:05:11 +02:00
2024-12-18 14:35:41 +01:00
2024-12-12 18:14:15 +01:00

Load Secrets from 1Password - GitHub Action

Provide the secrets your GitHub runner needs from 1Password.

Get started

load-secrets-action loads secrets from 1Password into GitHub Actions using Service Accounts or 1Password Connect.

Specify in your workflow YAML file which secrets from 1Password should be loaded into your job, and the action will make them available as environment variables for the next steps.

Read more on the 1Password Developer Portal.

🪄 See it in action!

Using 1Password Service Accounts with GitHub Actions - showcase

Quickstart

on: push
jobs:
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: Load secret
        uses: 1password/load-secrets-action@v2
        with:
          # Export loaded secrets as environment variables
          export-env: true
        env:
          OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
          SECRET: op://app-cicd/hello-world/secret

      - name: Print masked secret
        run: 'echo "Secret: $SECRET"'
        # Prints: Secret: ***

💙 Community & Support

🔐 Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests by sending an email to bugbounty@agilebits.com.

Description
Mirror of 1Password/load-secrets-action for local Gitea Actions use
Readme MIT 10 MiB
Languages
TypeScript 86.4%
Shell 7.7%
JavaScript 5.9%