Skip to content

Commit

Permalink
ci(*): rename workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed May 23, 2024
1 parent 6e504ee commit 0d80851
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python linter
name: Code format

on:
push:
Expand All @@ -12,7 +12,7 @@ on:
workflow_dispatch:

jobs:
linter:
code-format-check:

runs-on: ubuntu-latest
strategy:
Expand All @@ -33,6 +33,6 @@ jobs:
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Lint check
- name: Code format check
run: |
black --check -v ./
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Documentation links

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

name: Markdown files test

permissions:
contents: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish release
name: Create release
# example: gh workflow run release.yml -f tag_name=v1.1.4
on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Unittests
name: Unit tests

on:
push:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
> Connector which enriches your knowledge by using CrowdSec's CTI API.
[![Version](https://img.shields.io/github/v/release/crowdsecurity/cs-opencti-internal-enrichment-connector)](https://github.com/crowdsecurity/cs-opencti-internal-enrichment-connector/releases/)

[![Unit Tests](https://github.com/crowdsecurity/cs-opencti-internal-enrichment-connector/actions/workflows/unittests.yml/badge.svg)](https://github.com/crowdsecurity/cs-opencti-internal-enrichment-connector/actions/workflows/unittests.yml)
[![Code format](https://github.com/crowdsecurity/cs-opencti-internal-enrichment-connector/actions/workflows/code-format.yml/badge.svg)](https://github.com/crowdsecurity/cs-opencti-internal-enrichment-connector/actions/workflows/code-format.yml)

## Usage

Expand Down

0 comments on commit 0d80851

Please sign in to comment.