mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Initial action to synchronize signing secrets to confidential repo (#30561)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added a new workflow to simulate syncing selected secrets to another repository in dry-run mode. No actual changes will occur during execution. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
f0d3809b22
commit
dce722cc07
1 changed files with 24 additions and 0 deletions
24
.github/workflows/secrets-to-confidential.yml
vendored
Normal file
24
.github/workflows/secrets-to-confidential.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Secret sync to confidential
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
# This allows a subsequently queued workflow run to interrupt previous runs
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
sync_secrets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: jpoehnelt/secrets-sync-action@7840777f242539d96b60477b66aa1c179e7644ea # v1.10.0
|
||||
name: Sync secrets to confidential
|
||||
with:
|
||||
SECRETS: |
|
||||
^DIGICERT_.*
|
||||
^APPLE_.*
|
||||
REPOSITORIES: |
|
||||
fleetdm/confidential
|
||||
DRY_RUN: true
|
||||
GITHUB_TOKEN: ${{ secrets.SECRETS_GITHUB_PAT }}
|
||||
CONCURRENCY: 10
|
||||
Loading…
Reference in a new issue