Bump Submodule/github/rest-api-description from ebc1fec to d5aff63
#20
Workflow file for this run
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: Dependabot update commit | |
| on: | |
| pull_request: | |
| paths: | |
| - 'Submodule/**' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| Sync: | |
| if: github.actor == 'dependabot[bot]' | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| # - macos-latest #Fix: The macos-latest workflow label currently uses the macOS 12 runner image. | |
| # - macos-13 | |
| swift: | |
| - 6 | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 100 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| ref: ${{ github.head_ref }} | |
| - uses: ./.github/composites/setup | |
| with: | |
| swift: ${{ matrix.swift }} | |
| os: ${{ matrix.os }} | |
| - name: "git config" | |
| run: | | |
| git config user.name "${{ github.token }}" | |
| git config user.email "${{ github.actor }}@users.noreply.github.com" | |
| - name: "Commit new sources" | |
| run: | | |
| make -j 3 install | |
| git push | |
| - name: "Update pr metadata" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh pr merge --auto --merge "$PR_URL" | |
| gh pr review --approve "$PR_URL" | |