From 2bf211cb2e4a9aa63bd1faad771ab800e82677a0 Mon Sep 17 00:00:00 2001 From: Nicholas Wiltsie Date: Thu, 18 Apr 2024 15:30:25 -0700 Subject: [PATCH 1/3] Self-check this repository --- .github/workflows/CICD-base.yaml | 24 ------------------------ .github/workflows/static-analysis.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/CICD-base.yaml create mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/CICD-base.yaml b/.github/workflows/CICD-base.yaml deleted file mode 100644 index 910e0b2..0000000 --- a/.github/workflows/CICD-base.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: CICD-base - -on: - push: - branches: - - main - pull_request: - branches: - - main -jobs: - CICD-base: - runs-on: ubuntu-latest - - timeout-minutes: 15 - - steps: - # Checkout codebase - - name: Checkout - uses: actions/checkout@v2 - - # Run CICD-base - - name: CICD-base - uses: docker://ghcr.io/uclahs-cds/cicd-base:latest diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 0000000..50ad215 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,17 @@ +--- +name: Static analysis + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + analysis: + runs-on: ubuntu-latest + + steps: + - uses: uclahs-cds/tool-static-analysis@v1 From d46b994a53cb4db1bb5e687d464cd66de2c4573c Mon Sep 17 00:00:00 2001 From: Nicholas Wiltsie Date: Thu, 18 Apr 2024 15:32:17 -0700 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9a5e1..9e8e070 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm --- ## [Unreleased] + +## Changed +- "Dogfood" action to check itself + +## [v1.0.0] - 2024-04-18 + ### Added - Add README documentation about usage and versioning - Bootstrap Action for static analysis From 9040c8d5dd65fedf344e74dc483abfb42b648b38 Mon Sep 17 00:00:00 2001 From: Nicholas Wiltsie Date: Thu, 18 Apr 2024 15:39:04 -0700 Subject: [PATCH 3/3] Update workflow/check name to match #1 --- .github/workflows/static-analysis.yml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 50ad215..ccfdabb 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,5 +1,5 @@ --- -name: Static analysis +name: CI on: push: @@ -10,7 +10,7 @@ on: - main jobs: - analysis: + static-analysis: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 2a723f4..8f56410 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Run static analyses for code style, linting, and repository configuration. ## Usage ```yaml --- -name: Static analysis +name: CI on: push: @@ -16,7 +16,7 @@ on: - main jobs: - analysis: + static-analysis: runs-on: ubuntu-latest steps: