Skip to content

Commit c9b02b0

Browse files
authored
Upgrade sigstore action (#1086)
* upgrade sigstore action * less aggressive tests * minimize tests
1 parent c65a97b commit c9b02b0

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
path: dist/
7474

7575
- name: Sign the dists with Sigstore
76-
uses: sigstore/gh-action-sigstore-python@v2.1.1
76+
uses: sigstore/gh-action-sigstore-python@v3
7777
with:
7878
inputs: >-
7979
./dist/*.tar.gz

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Tests
22

33
on:
4+
pull_request:
5+
types:
6+
- ready_for_review
7+
- review_requested
48
push:
59
branches-ignore:
610
- main
@@ -9,8 +13,17 @@ on:
913
- generatereadme-*
1014
- generatedocstring-*
1115
- generateunittests-*
16+
- resolveissue-*
1217
- demo*
1318

19+
# Credits to https://blog.maximeheckel.com/posts/building-perfect-github-action-frontend-teams/
20+
concurrency:
21+
# Here the group is defined by the head_ref of the PR
22+
group: ${{ github.head_ref }}
23+
# Here we specify that we'll cancel any "in progress" workflow of the same group. Thus if we push, ammend a commit and push
24+
# again the previous workflow will be cancelled, thus saving us github action build minutes and avoid any conflicts
25+
cancel-in-progress: true
26+
1427
jobs:
1528
all-test:
1629
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)