Convert CHANGELOG to Fastlane #963
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: Convert CHANGELOG to Fastlane | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'CHANGELOG.md' | |
permissions: | |
actions: none | |
checks: none | |
contents: read | |
deployments: none | |
discussions: none | |
id-token: none | |
issues: none | |
packages: none | |
pages: none | |
pull-requests: write | |
repository-projects: none | |
security-events: none | |
statuses: none | |
jobs: | |
convert_changelog_to_fastlane: | |
runs-on: ubuntu-latest | |
name: Convert CHANGELOG to Fastlane | |
steps: | |
- name: Checkout repo | |
id: checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Run converter script | |
run: python .scripts/changelog_to_fastlane.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: "Update Fastlane changelogs" | |
commit-message: "Update Fastlane changelogs" | |
branch-suffix: timestamp |