Skip to content

Commit

Permalink
Trigger publish
Browse files Browse the repository at this point in the history
  • Loading branch information
larose committed Jul 3, 2024
1 parent 931348b commit 04cdb1a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- larose/bullfrog

jobs:
build-and-check:
Expand All @@ -12,10 +13,18 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: bullfrogsec/[email protected]
- name: Bullfrog Secure Runner
uses: bullfrogsec/bullfrog@v0
with:
block-dns: false
egress-policy: audit
egress-policy: block
allowed-domains: |
auth.docker.io
deb.debian.org
github.com
files.pythonhosted.org
production.cloudflare.docker.com
pypi.org
registry-1.docker.io
- run: |
sudo nft list ruleset
- uses: actions/checkout@v2
Expand All @@ -39,7 +48,7 @@ jobs:
runs-on: ubuntu-22.04
needs: build-and-check
steps:
- uses: bullfrogsec/bullfrog@v0.2
- uses: bullfrogsec/bullfrog@v0
with:
egress-policy: block
- uses: actions/checkout@v2
Expand All @@ -61,7 +70,7 @@ jobs:
with:
name: dist-3.8
path: dist
# - name: Publish (Test PyPI)
# run: make ci.publish.test-pypi
- name: Publish
run: make ci.publish.pypi
- name: Publish (Test PyPI)
run: make ci.publish.test-pypi
# - name: Publish
# run: make ci.publish.pypi
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Bullfrog Secure Runner
uses: bullfrogsec/bullfrog@v0
with:
egress-policy: block
allowed-domains: |
auth.docker.io
deb.debian.org
Expand All @@ -28,7 +29,6 @@ jobs:
production.cloudflare.docker.com
pypi.org
registry-1.docker.io
egress-policy: block
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
Expand Down

0 comments on commit 04cdb1a

Please sign in to comment.