From 013acdf22baff4591f13baee5e30af63c848aff0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 16 Jul 2024 10:50:00 +0200 Subject: [PATCH] change the runners so they don't run on every push --- .gitea/workflows/gitea-actions-demo.yaml | 6 +++++- .gitea/workflows/gitea-actions-rocky.yaml | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/gitea-actions-demo.yaml b/.gitea/workflows/gitea-actions-demo.yaml index 5a7a6da..5735e81 100644 --- a/.gitea/workflows/gitea-actions-demo.yaml +++ b/.gitea/workflows/gitea-actions-demo.yaml @@ -1,6 +1,10 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] +on: + push: + paths: + - 'execution-environment.yml' + jobs: Bootstrap-runner: diff --git a/.gitea/workflows/gitea-actions-rocky.yaml b/.gitea/workflows/gitea-actions-rocky.yaml index dca04d4..0c9dbb7 100644 --- a/.gitea/workflows/gitea-actions-rocky.yaml +++ b/.gitea/workflows/gitea-actions-rocky.yaml @@ -1,6 +1,9 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] +on: + push: + paths: + - 'rocky-environment.yml' jobs: Bootstrap-runner: