Skip to content

Commit a49a9a2

Browse files
authored
chore: includes badges in README.md (#128)
1 parent 1ac2c42 commit a49a9a2

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Preview Bump version
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
preview_version_bump:
8+
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') && github.ref == 'refs/heads/main' }}
9+
runs-on: ubuntu-latest
10+
container:
11+
image: commitizen/commitizen:4.8.3@sha256:08a078c52b368f85f34257a66e10645ee74d8cbe9b471930b80b2b4e95a9bd4a
12+
13+
name: "Preview next version"
14+
steps:
15+
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
16+
id: app-token
17+
with:
18+
app-id: ${{ vars.ELEMENTSINTERACTIVE_BOT_APP_ID }}
19+
private-key: ${{ secrets.ELEMENTSINTERACTIVE_BOT_PRIVATE_KEY }}
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
with:
22+
fetch-depth: 0
23+
token: ${{ steps.app-token.outputs.token }}
24+
ref: ${{ github.head_ref }}
25+
- name: Configure git
26+
run: |
27+
git config --global --add safe.directory "*" # otherwise cz does not find .git/ directory
28+
29+
- id: cz
30+
name: Preview next version
31+
run: |
32+
cz bump --get-next

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# 🔍 Lightman AI
2+
![Build Status](https://github.com/elementsinteractive/lightman-ai/actions/workflows/test.yml/badge.svg)
3+
[![PyPI version](https://img.shields.io/pypi/v/lightman-ai)](https://pypi.org/project/lightman-ai/)
4+
[![Docker version](https://img.shields.io/docker/v/elementsinteractive/lightman-ai?label=DockerHub&logo=docker&logoColor=f5f5f5)](https://hub.docker.com/r/elementsinteractive/lightman-ai)
5+
[![Python Version](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue?logo=python&logoColor=yellow)](https://pypi.org/project/lightman-ai/)
6+
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
7+
[![License](https://img.shields.io/github/license/elementsinteractive/lightman-ai)](LICENSE)
8+
29

310
> LLM-Powered Cybersecurity News Intelligence Platform
411

0 commit comments

Comments
 (0)