From 686b613347da8cebc0db72a0ee2288ed334615e8 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 7 May 2024 15:07:30 +0200 Subject: [PATCH] github-action: run snapshoty for main and if success --- .github/workflows/snapshoty.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/snapshoty.yml b/.github/workflows/snapshoty.yml index b4740deaf..d16216ba3 100644 --- a/.github/workflows/snapshoty.yml +++ b/.github/workflows/snapshoty.yml @@ -8,10 +8,16 @@ on: workflows: ['test-linux'] types: - completed + branches: + - main + +permissions: + contents: read jobs: upload: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v4