Skip to content

Commit a70b194

Browse files
committed
ci(workflows): fix triggers
1 parent cedcec0 commit a70b194

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Linting and Testing
22

33
on:
44
push:
5-
branches:
6-
- '**'
5+
branches-ignore:
6+
- master
7+
- release/**
78
paths-ignore:
89
- '**.md'
910
- 'docs/**'

.github/workflows/publish-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Package Publishing
22

33
on:
44
release:
5-
types: [created]
5+
types: [created, published]
66

77
permissions:
88
contents: write

.github/workflows/publish-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,11 @@ jobs:
9090
id: release
9191
uses: python-semantic-release/python-semantic-release@v8.3.0
9292
with:
93-
github_token: ${{ secrets.GITHUB_TOKEN }}
9493
git_committer_name: "github-actions"
9594
git_committer_email: "actions@users.noreply.github.com"
9695

9796
- name: Upload to GitHub Release Assets
9897
uses: python-semantic-release/publish-action@v10.4.1
9998
if: steps.release.outputs.released == 'true'
10099
with:
101-
github_token: ${{ secrets.GITHUB_TOKEN }}
102100
tag: ${{ steps.release.outputs.tag }}

0 commit comments

Comments
 (0)