Skip to content

Commit 67a9669

Browse files
committed
chore(ci): upldate rules for release pipeline and permissions for test pipeline
1 parent 2991819 commit 67a9669

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Release python package
22

33
on:
4-
push:
5-
tags:
4+
release:
5+
types:
66
- released
77

88
jobs:

.github/workflows/test.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
name: Testing taskiq-psqlpy
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '*.md'
7+
push:
8+
paths-ignore:
9+
- '*.md'
10+
11+
permissions:
12+
actions: read
13+
contents: read
14+
pull-requests: read
415

516
jobs:
617
lint:

0 commit comments

Comments
 (0)