Skip to content

Commit

Permalink
ci: run tickgit after merging a PR in the devel branch
Browse files Browse the repository at this point in the history
The `tickgit.com` webservice seems to not update itself anymore, but
having a list of TODO's is very useful. Use the tickgit project to
gather the TODO's, bit in a GitHub Workflow.

Developers can also run `make containerized-test TARGET=tickgit` to get
the result locally.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
  • Loading branch information
nixpanic committed Nov 7, 2023
1 parent a4e0c69 commit 4f8c079
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tickgit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: List TODO's
# yamllint disable-line rule:truthy
on:
push:
branches:
- devel

permissions:
contents: read

jobs:
tickgit:
name: tickgit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make containerized-test TARGET=tickgit
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ check-env:

codespell:
codespell --config scripts/codespell.conf

tickgit:
tickgit $(CURDIR)

#
# commitlint will do a rebase on top of GIT_SINCE when REBASE=1 is passed.
#
Expand Down
1 change: 1 addition & 0 deletions scripts/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ RUN source /build.env \
&& npm install @commitlint/cli@"${COMMITLINT_VERSION}" \
&& popd \
&& git config --global --add safe.directory ${CEPHCSIPATH} \
&& go install github.com/augmentable-dev/tickgit/cmd/tickgit@latest \
&& true

WORKDIR ${CEPHCSIPATH}

0 comments on commit 4f8c079

Please sign in to comment.