Skip to content

Commit b90b191

Browse files
author
Lando Calrissian
committed
Replace actions trigger with on: [push]
1 parent 48fd030 commit b90b191

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/workflows/build.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Build
22
on:
3-
pull_request:
4-
push:
5-
branches:
6-
- main
7-
tags:
8-
- "*"
9-
3+
- push
104
jobs:
115
build:
126
runs-on: ubuntu-latest
@@ -29,7 +23,6 @@ jobs:
2923
with:
3024
name: artifact
3125
path: dist/*
32-
3326
release:
3427
name: Publish package
3528
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/ci.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
name: CI
22
on:
3-
pull_request:
4-
push:
5-
branches:
6-
- main
7-
3+
- push
84
# Automatically stop old builds on the same branch/PR
95
concurrency:
106
group: ${{ github.workflow }}-${{ github.ref }}
117
cancel-in-progress: true
12-
138
permissions:
149
contents: read
15-
1610
jobs:
1711
pre-commit:
1812
timeout-minutes: 30
@@ -26,7 +20,6 @@ jobs:
2620
environments: default lint
2721
- name: pre-commit
2822
run: pixi run pre-commit-run --color=always --show-diff-on-failure
29-
3023
pytest:
3124
timeout-minutes: 30
3225
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)