Skip to content

Commit

Permalink
chore(secrets): adding GHA to sync NPM_AUTH_TOKEN to spinnaker/spinna… (
Browse files Browse the repository at this point in the history
#10122)

* chore(secrets): adding GHA to sync NPM_AUTH_TOKEN to spinnaker/spinnaker repo

* chore(secrets): adding GHA to sync NPM_AUTH_TOKEN to spinnaker/spinnaker repo
  • Loading branch information
link108 authored Jul 9, 2024
1 parent 2eec4a5 commit ec9f1e7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/sync-secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Sync Secrets

on:
workflow_dispatch:
inputs:
dry_run:
description: 'Dry Run'
required: true
default: 'true'
type: choice
options:
- 'true'
- 'false'

jobs:
sync-secrets:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Sync Secrets
uses: jpoehnelt/[email protected]
with:
SECRETS: |
^NPM_AUTH_TOKEN$
REPOSITORIES: |
^spinnaker/spinnaker$
DRY_RUN: ${{ github.event.inputs.dry_run }}
GITHUB_TOKEN: ${{ secrets.SYNC_TOKEN }}
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit ec9f1e7

Please sign in to comment.