Create a PR for release with the newest A-S version available #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create a PR for release with the newest A-S version available | |
# Controls when the workflow will run | |
on: | |
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 |