forked from mamolinux/theme-manager
-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 946 Bytes
/
update-stable.yml
File metadata and controls
28 lines (26 loc) · 946 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
# Automatically fetch and merge latest tag to mamolinux/stable for new stable releases
name: Update mamolinux/stable branch
# Controls when the action will run.
on:
# Triggers the workflow on push events but only for new tags
push:
tags:
- "*.*.*"
workflow_dispatch: # on button click
inputs:
action:
description: 'Select the action to run'
required: true
type: choice
options:
- Update Stable Branch
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This job handles the Stable Branch Update, whether from a schedule or manual trigger
stable_update_job:
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) ||
(github.event_name == 'workflow_dispatch')
uses: mamolinux/github-actions/.github/workflows/update-stable-branch.yml@main
with:
target_branch: 'mamolinux/stable'