2023-05-21 15:42:54 +00:00
|
|
|
name: Update iOS releases and version numbers
|
2023-05-21 15:09:50 +00:00
|
|
|
run-name: ${{ github.actor }} is finding the latest iOS release version and build numbers
|
|
|
|
on:
|
2023-05-21 15:42:54 +00:00
|
|
|
workflow_dispatch:
|
2023-05-21 15:09:50 +00:00
|
|
|
schedule:
|
|
|
|
# * is a special character in YAML so you have to quote this string
|
|
|
|
- cron: '0 */6 * * *'
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-ios-version:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
- name: Run script to fetch latest iOS releases from Apple RSS feed.
|
2023-05-21 15:44:17 +00:00
|
|
|
run: python3 .github/workflows/scripts/update-ios-releases.py
|
2023-05-21 15:09:50 +00:00
|
|
|
- name: Create Pull Request
|
|
|
|
uses: peter-evans/create-pull-request@v5
|
|
|
|
with:
|
2023-05-21 15:47:56 +00:00
|
|
|
title: '[auto] Update iOS releases and versions'
|
2023-05-21 15:09:50 +00:00
|
|
|
commit-message: Add new iOS versions and build numbers
|
2023-05-21 15:52:47 +00:00
|
|
|
branch: auto/add-new-ios-releases
|
2023-05-21 15:47:56 +00:00
|
|
|
body: |
|
|
|
|
This is an automated pull request to update the iOS releases and version numbers.
|
2023-05-21 15:09:50 +00:00
|
|
|
add-paths: |
|
|
|
|
*.json
|
|
|
|
labels: |
|
|
|
|
automated pr
|