From bc80a007dd190083a27a2a847c8fba5e41f71cef Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Tue, 10 Sep 2024 17:54:59 -0400 Subject: [PATCH] Run CI on push and on PR. If you don't specify PR, CI won't run on PR's from public forks. --- .github/workflows/build-ferrocene.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/clippy.yml | 2 +- .github/workflows/format.yml | 2 +- .github/workflows/reuse.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-ferrocene.yml b/.github/workflows/build-ferrocene.yml index 042c81c..1327627 100644 --- a/.github/workflows/build-ferrocene.yml +++ b/.github/workflows/build-ferrocene.yml @@ -3,7 +3,7 @@ name: workflow-build-everything-ferrocene run-name: Build Everything with Ferrocene -on: [push] +on: [push, pull_request] jobs: job-build-demo-app: runs-on: ubuntu-latest diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c393662..e28bffa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: workflow-build-everything run-name: Build Everything -on: [push] +on: [push, pull_request] jobs: job-build-demo-app: runs-on: ubuntu-latest diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 0001b48..e4ddaf7 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -3,7 +3,7 @@ name: workflow-code-analysis run-name: Run code analysis -on: [push] +on: [push, pull_request] jobs: job-clippy-demo-app: runs-on: ubuntu-latest diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index e59a9ae..4513541 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -3,7 +3,7 @@ name: workflow-code-format run-name: Check code formatting -on: [push] +on: [push, pull_request] jobs: job-format-demo-app: runs-on: ubuntu-latest diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index c2fe786..f7e401f 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -3,7 +3,7 @@ name: workflow-code-licensing run-name: Check code licensing -on: [push] +on: [push, pull_request] jobs: job-run-reuse-lint: runs-on: ubuntu-latest