From d5ae4186a8431a8a7d4ba0c4b9ddb3effa69ec28 Mon Sep 17 00:00:00 2001 From: Chuck Dolan Date: Mon, 14 Aug 2023 12:31:25 -0400 Subject: [PATCH 1/2] Added initiator to push alert email --- .github/workflows/validate-push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate-push.yml b/.github/workflows/validate-push.yml index b3d1ff0..b453e1b 100644 --- a/.github/workflows/validate-push.yml +++ b/.github/workflows/validate-push.yml @@ -114,6 +114,7 @@ jobs: # email body as text body: | Run date ${{ steps.date.outputs.date }} + By: ${{ github.actor }} ${{ github.repository }} files added or updated: -- Added From 03dd84a5a19f37f4bb133dc9e303fcb360d5ec7b Mon Sep 17 00:00:00 2001 From: Chuck Dolan Date: Fri, 1 Sep 2023 16:13:06 -0400 Subject: [PATCH 2/2] Modified .gitignore to only track XML files (and rare workflow yaml mods) --- .gitignore | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b50e23 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Restrict commits to Spase XML files and occasional updates to github workflow yml files +# The '!' character negates blocking - use that to allow specific file types + +# Ignore all to start +* + +# Allow necessary root files +!.gitignore +!README.* +!LICENSE + +# Allow folders +!*/ + +# Allow xml files +!*.xml +!*.XML + +# Allow workflow files (the .github folder currently does not get blocked at all) +!.github/workflow/*.yml