forked from mozilla-mobile/firefox-android
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1.35 KB
/
ac-update-geckoview.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/
#
# This workflow periodically calls the relbot action to update GeckoView
# Beta.
#
# The relbot action will look at Maven and compare the latest GV Beta
# release available to what is currently configured in GeckoView.kt on
# a hard coded A-C release branch. If the branch is outdated then
# a new PR will be created to update the GV version and increment the
# A-C version.
#
name: "AC - Update GeckoView"
permissions:
contents: write
pull-requests: write
on:
schedule:
- cron: '*/15 * * * *'
jobs:
main:
name: "Update GeckoView"
runs-on: ubuntu-20.04
steps:
- name: "Update GV (On Main)"
uses: mozilla-mobile/[email protected]
if: github.repository == 'mozilla-mobile/firefox-android'
with:
project: android-components
command: update-main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Update GV (On Releases)"
uses: mozilla-mobile/[email protected]
if: github.repository == 'mozilla-mobile/firefox-android'
with:
project: android-components
command: update-releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}