Skip to content

Push new tag if new upstream tag is available #175

Push new tag if new upstream tag is available

Push new tag if new upstream tag is available #175

Workflow file for this run

name: Push new tag if new upstream tag is available
on:
schedule:
# Daily for now
- cron: '9 7 * * *'
workflow_dispatch:
jobs:
update-snapcraft-yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v3
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Run desktop-snaps action
uses: ubuntu/desktop-snaps@stable
#uses: ubuntu/desktop-snaps@push-no-pr
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}