Skip to content

Commit

Permalink
delete migrator secret
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-smith committed Jun 21, 2022
1 parent 42d243a commit 7b0087c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ private static string GenerateWorkflow(string targetOrg, string targetRepo, stri
}}
Invoke-RestMethod -Uri ""https://api.github.com/repos/${{{{ github.repository }}}}/git/${{{{ github.ref }}}}"" -Method ""DELETE"" -Headers @{{ Authorization = ""Basic $targetPat"" }}
Invoke-RestMethod -Uri ""https://api.github.com/repos/${{{{ github.repository }}}}/actions/secrets/SECRETS_MIGRATOR_PAT"" -Method ""DELETE"" -Headers @{{ Authorization = ""Basic $targetPat"" }}
env:
REPO_SECRETS: ${{{{ toJSON(secrets) }}}}
TARGET_PAT: ${{{{ secrets.SECRETS_MIGRATOR_PAT }}}}
Expand Down

0 comments on commit 7b0087c

Please sign in to comment.