-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 792 Bytes
/
release.yml
File metadata and controls
34 lines (28 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Automated version release Schedule
# on:
# push:
# branches:
# - main
on:
pull_request:
types:
- closed
jobs:
ScheduledRelease:
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
steps:
- name: Checkout code repository
id: code_checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Releasing new version with Python semantic release
id: release_version
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}