update on work #201
This file contains hidden or 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: Update map.yaml | |
| on: | |
| push: | |
| paths: | |
| - '**' | |
| workflow_dispatch: | |
| jobs: | |
| update-map-yaml: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install pyyaml | |
| - name: Run generate_path.py | |
| run: python tools/generate_path.py | |
| - name: Create Pull Request for map.yaml update | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| commit-message: "Auto-update map.yaml" | |
| title: "Auto-update map.yaml" | |
| body: "This PR was automatically generated by a GitHub Action to update map.yaml." | |
| branch: auto/update-map-yaml | |
| add-paths: map.yaml | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |