From 6d0e831927e99fa974983a58401b87a314acc53a Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Sun, 2 Jun 2024 16:32:53 -0700 Subject: [PATCH] Add post update-to-datedness check (#1) --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..b3685cc --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: + push: + branches: ["exampleSite"] + pull_request: + branches: ["exampleSite"] + +jobs: + kamimod-post: + name: "Is the KamiMod post up-to-date?" + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: Run update-post.sh + run: ./update-post.sh + + - name: Check file changes + run: git diff