chore(ci): don't build on PRs (#71)
This commit is contained in:
parent
c7e60ecb19
commit
7dc5199d46
2 changed files with 4 additions and 12 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -1,11 +1,5 @@
|
|||
name: Build and Push Image
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- '**.txt'
|
||||
schedule:
|
||||
- cron: '20 22 * * *' # 10:20pm everyday
|
||||
push:
|
||||
|
|
|
|||
10
.github/workflows/pr.yml
vendored
10
.github/workflows/pr.yml
vendored
|
|
@ -1,17 +1,15 @@
|
|||
name: Pull Requests
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
push-ghcr:
|
||||
name: Build and push image
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
id-token: read
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
|
|||
Loading…
Reference in a new issue