diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 98f9a60e..36198a62 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -7,7 +7,7 @@ permissions: on: push: branches: - - dev + - develop jobs: define-environment: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..d8c01813 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file