Skip to content

Commit f4be45c

Browse files
authored
Make deploy workflow mandatory (#171)
1 parent 1f41a53 commit f4be45c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@ name: Deploy
33

44
on:
55
push:
6+
branches:
7+
- main
8+
- renovate/**
69
tags:
710
- v*
11+
pull_request:
812

913
jobs:
1014
deploy:
1115
runs-on: ubuntu-latest
16+
permissions:
17+
id-token: write
1218
steps:
1319
# yamllint disable-line rule:line-length
14-
- uses: paddyroddy/.github/actions/python/deployment@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
20+
- uses: paddyroddy/.github/actions/python/deployment@3135c318562994eafc62974821c6f80aa64b35da # v0
1521
with:
1622
pyproject-toml: ./pyproject.toml
1723
python-version: "3.12"

.github/workflows/documentation.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ on:
55
push:
66
branches:
77
- main
8+
- renovate/**
9+
pull_request:
810

911
jobs:
1012
documentation:
1113
runs-on: ubuntu-latest
1214
steps:
1315
# yamllint disable-line rule:line-length
14-
- uses: paddyroddy/.github/actions/python/pdoc@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
16+
- uses: paddyroddy/.github/actions/python/pdoc@3135c318562994eafc62974821c6f80aa64b35da # v0
1517
with:
1618
docs-dependency-section: .[docs]
1719
gh-pages-publish-directory: ./html/example

0 commit comments

Comments
 (0)