Fix mobile-metrics
v2
android-navigation-binary-size
#2125
Workflow file for this run
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: Rename changelog files | |
on: | |
pull_request: | |
types: [ opened, reopened, ready_for_review, synchronize, labeled, unlabeled ] | |
jobs: | |
process: | |
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'skip changelog') == false | |
permissions: | |
pull-requests: write | |
contents: write | |
runs-on: ubuntu-20.04 | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{github.head_ref}} | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7.7' | |
- name: install python packages | |
run: | | |
python3 -m pip install requests GitPython | |
- name: execute py script | |
run: | | |
python3 scripts/changelog/rename_changelog_file.py |