From 7dc5199d46ac6a0656b19268cc267e68b52128fe Mon Sep 17 00:00:00 2001 From: Marco Ceppi Date: Sun, 19 Mar 2023 23:58:44 -0400 Subject: [PATCH] chore(ci): don't build on PRs (#71) --- .github/workflows/build.yml | 6 ------ .github/workflows/pr.yml | 10 ++++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f034df9f96d..ab554fd84e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index eb6924f149d..37efd0637e6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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