Export audit log #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Export audit log | |
on: | |
workflow_dispatch: # run on demand | |
jobs: | |
build: | |
runs-on: ubuntu-latest # use the GitHub hosted runners | |
steps: | |
- name: Upload the audit log | |
uses: some-natalie/gitlog-to-csv@v2 | |
with: | |
repository: ${{ github.repository }} # run in the current repository | |
branch: "main" # set this to the branch you want to audit | |
gpg: "true" # include columns on GPG commit signing | |
include_diffs: "true" # include detailed diffs on each commit | |
token: ${{ github.token }} # use the default runtime token | |
# If you want another repository, set `repository` to "ownername/reponame" and | |
# the `token` to a GitHub PAT as a secret that has read access to that repo. | |
# For running in the current repository, this is the minimum permissions needed | |
# to run. |