mirror of
https://github.com/httpie/cli.git
synced 2025-02-26 22:40:52 +01:00
29 lines
686 B
YAML
29 lines
686 B
YAML
|
name: Update Autogenerated Files
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
regen-autogenerated-files:
|
||
|
runs-on: ubuntu-latest
|
||
|
if: github.event.pull_request.head.repo.full_name == github.repository
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- uses: actions/setup-python@v3
|
||
|
with:
|
||
|
python-version: 3.9
|
||
|
|
||
|
- run: make regen-all
|
||
|
|
||
|
- name: Create Pull Request
|
||
|
id: cpr
|
||
|
uses: peter-evans/create-pull-request@v3
|
||
|
with:
|
||
|
commit-message: "[automated] Update auto-generated files"
|
||
|
title: "[automated] Update auto-generated files"
|
||
|
delete-branch: true
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|