Skip to content

Commit

Permalink
Replace actions trigger with on: [push]
Browse files Browse the repository at this point in the history
  • Loading branch information
Lando Calrissian committed Jul 12, 2024
1 parent 4dc6871 commit cd77084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Build
on:
pull_request:
push:
branches:
- main
tags:
- "*"

- push
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -25,7 +19,6 @@ jobs:
with:
name: artifact
path: dist/*

release:
name: Publish package
if: startsWith(github.ref, 'refs/tags/')
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
name: CI
on:
pull_request:
push:
branches:
- main

- push
# Automatically stop old builds on the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pre-commit:
timeout-minutes: 30
Expand All @@ -23,7 +18,6 @@ jobs:
environments: default lint
- name: pre-commit
run: pixi run pre-commit-run --color=always --show-diff-on-failure

pytest:
timeout-minutes: 30
runs-on: ubuntu-latest
Expand Down

0 comments on commit cd77084

Please sign in to comment.