Skip to content

Commit

Permalink
Fix auto stub generation
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Sep 22, 2023
1 parent 0177294 commit e898068
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/update_stub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ jobs:
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
submodules: recursive
- name: Create local changes
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Auto stub generation
run: |
pip install build
python update_stub.py
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
message: Auto stub generation
branch: ${{ steps.extract_branch.outputs.branch }}

0 comments on commit e898068

Please sign in to comment.