chore(deps): update dependency functions-framework to v3.10.1 (#275) #272
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: Generate JSON PR | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - "jsonschema/**" | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| - name: Install yamljs CLI | |
| run: npm install -g yamljs | |
| - name: Run toJSON script | |
| run: ./tools/tojson.sh | |
| - name: Create pull request for changes | |
| uses: googleapis/code-suggester@v5 | |
| env: | |
| ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} # manually created and added as repo secret | |
| with: | |
| command: pr | |
| upstream_owner: ${{ github.repository_owner }} | |
| upstream_repo: "workflows-samples" | |
| title: "chore: Regenerate JSON" | |
| message: "chore: Regenerate JSON" | |
| description: "Generated in GitHub action: https://github.com/${{ github.repository }}/actions/workflows/generate_json_pr.yaml" | |
| branch: "main" | |
| git_dir: "src/" | |
| primary: "main" | |
| force: true | |
| fork: true # action automatically forks repo |