create changelog #739
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 changelog | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 3 * * *' # try everyday | |
jobs: | |
create-changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout intellij-rust.github.io repo | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }} | |
repository: ${{ github.repository_owner }}/intellij-rust.github.io | |
path: intellij-rust.github.io | |
- name: Install python packages | |
run: pip install -r intellij-rust.github.io/requirements.txt | |
- name: Set up git user | |
run: | | |
(cd intellij-rust.github.io; git config --local user.email "[email protected]") | |
(cd intellij-rust.github.io; git config --local user.name "intellij-rust-bot") | |
- name: Make pull request | |
run: python scripts/make_changelog_pull_request.py --token ${{ secrets.WORKFLOW_GITHUB_TOKEN }} --repo_owner ${{ github.repository_owner }} --repo_name intellij-rust.github.io |