Collect changes #2
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: Collect changes | |
on: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
collect-changes: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: "main" | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Setup git | |
run: | | |
git config user.name pulpbot | |
git config user.email [email protected] | |
- name: Collect changes | |
run: | | |
pip install GitPython packaging toml | |
python3 .ci/scripts/collect_changes.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.RELEASE_TOKEN }} | |
title: "Update Changelog" | |
body: "" | |
branch: "update_changes" | |
delete-branch: true |