From 4da1a5a6e993a31d2a76fb8f807f7bdaafb2a82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedek=20D=C3=A9v=C3=A9nyi?= Date: Sat, 6 Jul 2024 19:35:52 +0200 Subject: [PATCH] Update Github Actions (#934) Now the Flatpak and the Ruff CI actions only run when pushing to master, and on pull requests. Also updated Flatpak CI image to GNOME 46. --- .github/workflows/checks.yml | 6 +++++- .github/workflows/flatpak.yml | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 39f54d91..8c8b685f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,6 +1,10 @@ name: Checks -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: ruff: diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index 673d5036..8cfe211b 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -1,12 +1,16 @@ name: Flatpak -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: flatpak: runs-on: ubuntu-latest container: - image: bilelmoussaoui/flatpak-github-actions:gnome-45 + image: bilelmoussaoui/flatpak-github-actions:gnome-46 options: --privileged strategy: