Skip to content

Commit 3888a0f

Browse files
committed
README
1 parent a199aa4 commit 3888a0f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Audit GitHub workflow runs for an org or Enterprise, using the audit log
1+
# Audit GitHub workflow runs for an organization, Enterprise or repository
22

3-
Check the audit log for a GitHub Enterprise or organization for workflow runs, listing the Actions and specific versions and commits used in them.
3+
Check the audit log for a GitHub Enterprise/organization (or just list the runs, for a repository) for workflow runs created between the start date and end date.
4+
5+
Lists the Actions and specific versions and commits used in them.
46

57
Optionally, filter by a particular action, possibly including a commit SHA of interest.
68

@@ -15,8 +17,8 @@ Set a `GITHUB_TOKEN` in the environment with appropriate access to the audit log
1517

1618
For Enterprise Server or Data Residency users, please set `GITHUB_BASE_URL` in your environment, e.g. `https://github.acme-inc.com/api/v3`
1719

18-
```bash
19-
node audit_workflow_runs.js <org or enterprise name> <"ent" or "org"> <start date> <end date> [<action>] [<commit SHA>]
20+
```text
21+
node audit_workflow_runs.js <org or enterprise name> <ent|org|repo> <start date> <end date> [<action>] [<commit SHA>]
2022
```
2123

2224
Results are printed to the console in CSV, and also appended to a file in the current directory, named `workflow_audit_results.sljson`.

0 commit comments

Comments
 (0)