forked from mozilla/rust-components-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.13 KB
/
update-as-nightly.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
name: Create a PR for release with the newest A-S version available
# Controls when the workflow will run
on:
# Ecosia: Stop action from running
# schedule:
# Runs 8:00am UTC each day
# - cron: '0 8 * * *'
workflow_dispatch:
jobs:
release-pr:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
# Checks out the rust-components-swift repository
# This uses the `PAT` secret, which is a personal access token generated by Ben with
# the `repo:public_repo` scope.
- uses: actions/checkout@v2
with:
token: ${{ secrets.PAT }}
submodules: 'recursive'
ref: main
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Setup git information
run: |
git config user.email "[email protected]"
git config user.name "Firefox Sync Engineering"
- name: Run nightly update
run: python automation/update-from-application-services.py nightly --push --remote=origin