diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 84c7b32..c17f773 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -1,19 +1,20 @@ 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: update-snapcraft-yaml: runs-on: ubuntu-latest steps: - - name: Checkout this repo - uses: actions/checkout@v3 - - name: Run desktop-snaps action - uses: ubuntu/desktop-snaps@stable - 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/update-snap@add-updatesnap-tool + with: + token: ${{ secrets.GITHUB_TOKEN }} + repo: ${{ github.repository }}