Skip to content

Commit

Permalink
Switch to release triggered publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchristy committed Nov 25, 2024
1 parent 2e9500d commit a527f47
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI/CD

on:
push:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Publish

# Trigger on new tagged releases from auto
on:
workflow_call:
push:
tags:
- 'v*'

jobs:
pypi-publish:
Expand Down Expand Up @@ -32,7 +35,7 @@ jobs:
pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
# Verify the version
- name: Verify version
run: hatch version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![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)
[![Auto Release](https://img.shields.io/badge/release-auto.svg?colorA=888888&colorB=9B065A&label=auto)](https://github.com/intuit/auto)
[![CI/CD](https://github.com/alexchristy/PyOPN/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/alexchristy/PyOPN/actions)
[![CI](https://github.com/alexchristy/PyOPN/actions/workflows/ci.yml/badge.svg)](https://github.com/alexchristy/PyOPN/actions)
[![PyPI version](https://badge.fury.io/py/pyopn.svg)](https://badge.fury.io/py/pyopn)

A simple Python wrapper for the OPNsense REST API.
Expand Down

0 comments on commit a527f47

Please sign in to comment.