From fec76227ff4dfed742b7640fdcb2c31d5a17e29b Mon Sep 17 00:00:00 2001 From: Sergio Costas Rodriguez Date: Mon, 2 Jun 2025 18:26:39 +0200 Subject: [PATCH 1/4] Test the new update action --- .github/workflows/auto-update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 84c7b32..dd33fac 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout this repo - uses: actions/checkout@v3 - - name: Run desktop-snaps action - uses: ubuntu/desktop-snaps@stable + uses: actions/checkout@v4 + - name: Run desktop-snaps action + uses: sergio-costas/ci@add-updatesnap-tool with: token: ${{ secrets.GITHUB_TOKEN }} repo: ${{ github.repository }} From 9a69d684766c20c32e8229aa337bc186c276801b Mon Sep 17 00:00:00 2001 From: Sergio Costas Rodriguez Date: Mon, 2 Jun 2025 18:33:41 +0200 Subject: [PATCH 2/4] test autoupdate --- .github/workflows/auto-update.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index dd33fac..ff30293 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -1,9 +1,11 @@ name: Push new tag update to stable branch on: - schedule: - # Daily for now - - cron: '9 7 * * *' + pull_request: + push: + branches: + - edge + - stable workflow_dispatch: jobs: From ae4cae49acbfc82ef3eb608826bfa21014d73b58 Mon Sep 17 00:00:00 2001 From: Sergio Costas Rodriguez Date: Mon, 2 Jun 2025 18:36:44 +0200 Subject: [PATCH 3/4] fix yaml --- .github/workflows/auto-update.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index ff30293..18b3939 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -1,5 +1,4 @@ name: Push new tag update to stable branch - on: pull_request: push: @@ -12,10 +11,10 @@ jobs: update-snapcraft-yaml: runs-on: ubuntu-latest steps: - - name: Checkout this repo - uses: actions/checkout@v4 - - name: Run desktop-snaps action - uses: sergio-costas/ci@add-updatesnap-tool - with: - token: ${{ secrets.GITHUB_TOKEN }} - repo: ${{ github.repository }} + - name: Checkout this repo + uses: actions/checkout@v4 + - name: Run desktop-snaps action + uses: sergio-costas/ci@add-updatesnap-tool + with: + token: ${{ secrets.GITHUB_TOKEN }} + repo: ${{ github.repository }} From e8c75bb2a56a29b62dae26766ddf482dca23bb4b Mon Sep 17 00:00:00 2001 From: Sergio Costas Rodriguez Date: Mon, 2 Jun 2025 18:39:36 +0200 Subject: [PATCH 4/4] fix yaml2 --- .github/workflows/auto-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 18b3939..c17f773 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout this repo uses: actions/checkout@v4 - name: Run desktop-snaps action - uses: sergio-costas/ci@add-updatesnap-tool + uses: sergio-costas/ci/update-snap@add-updatesnap-tool with: token: ${{ secrets.GITHUB_TOKEN }} repo: ${{ github.repository }}