Skip to content

Commit

Permalink
ci: fix cicd target branch name and return release workflow to follow…
Browse files Browse the repository at this point in the history
… releases configured in pyproject.toml
  • Loading branch information
anayeaye committed Oct 14, 2024
1 parent ad5d5e5 commit abceb02
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
on:
push:
branches:
- dev
- develop

jobs:
define-environment:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release Workflow

permissions:
id-token: write
contents: read

on:
push:
branches:
- develop
- main

jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
changelog: "false"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit abceb02

Please sign in to comment.