Skip to content

Commit

Permalink
Regenerating ZAP (#28137)
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple authored and pull[bot] committed Jan 22, 2024
1 parent 93c0ec0 commit 4741160
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 72 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/zap_regeneration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,7 @@ jobs:

- name: Generate all
run: ./scripts/run_in_build_env.sh scripts/tools/zap_regen_all.py
- name: Ensure git works in current working directory
run: git config --global --add safe.directory `pwd`
- name: Add uncommitted changes
run: git add .
- name: Fix upstream
run: |
git remote set-url origin https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
git config --global user.email "$USER_EMAIL"
git config --global user.name "$USER_NAME"
env:
COMMITTER_TOKEN: ${{ secrets.MATTER_PAT }}
USER_EMAIL: ${{ secrets.MATTER_PAT_EMAIL }}
USER_NAME: ${{ secrets.MATTER_PAT_NAME }}
GITHUB_REPOSITORY: ${{ github.GITHUB_REPOSITORY }}
- name: Commit
run: git commit -a -m "Regenerating ZAP"
- name: Push
run: git push
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: Regenerating ZAP
2 changes: 2 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4741160

Please sign in to comment.