-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (25 loc) · 875 Bytes
/
auto-update.yaml
File metadata and controls
30 lines (25 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Push new tag update to stable branch
on:
schedule:
# Daily for now
- cron: '9 7 * * *'
workflow_dispatch:
permissions: write-all
jobs:
update-snapcraft-yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Update snapcraft.yaml
uses: ubuntu/desktop-snaps@12a322bc9b39889b93b71ffa2a1a1b2f0932cff5 # stable
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
yaml-path: snap/snapcraft.yaml
- name: Update legacy (og) snapcraft.yaml
uses: ubuntu/desktop-snaps@12a322bc9b39889b93b71ffa2a1a1b2f0932cff5 # stable
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
yaml-path: snap-og/snap/snapcraft.yaml