You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: replay_secret_scanning_result_status.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
#!/usr/bin/env python3
2
2
3
-
"""Replay secret scanning alert status for a GitHub repository, organization or Enterprise, based on a provided file of previous statuses."""
3
+
"""Replay secret scanning alert status for a GitHub repository, organization or Enterprise, based on a provided file of previous statuses.
4
+
5
+
This can be useful if a repository is deleted and recreated, and you want to restore the previous status of the alerts.
6
+
7
+
This script reads a CSV file with a header from stdin, with the following columns: repo, secret, secret_type, state, resolution, resolution_comment, url
0 commit comments