Skip to content

Commit

Permalink
Revert "Delete .github/workflows/copy-repo-secrets-to-org-secrets.yml"
Browse files Browse the repository at this point in the history
This reverts commit 6d616db.
  • Loading branch information
thypon committed Jun 7, 2024
1 parent 8c1697b commit de71240
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/copy-repo-secrets-to-org-secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Copy repo secrets to org secrets
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
copy-secrets:
runs-on: ubuntu-latest
steps:
- env:
GH_TOKEN: ${{ secrets.ORG_SECRETS_MANAGER_TOKEN }}
GH_TO_SLACK_USER_MAP: ${{ secrets.GH_TO_SLACK_USER_MAP }}
run: gh secret set GH_TO_SLACK_USER_MAP -o "${GITHUB_REPOSITORY_OWNER:?}" -v all <<<"${GH_TO_SLACK_USER_MAP:?}"

0 comments on commit de71240

Please sign in to comment.