Bump github.com/yonaskolb/mint from 0.17.5 to 0.18.0 in /.github/dependabot-mintfile/manifest-Mint #42
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/**' | |
- '.github/dependabot-mintfile/**' | |
permissions: | |
contents: write | |
pull-requests: write | |
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: | |
- 5 | |
# - 6 | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: ./.github/workflows/actions/setup | |
with: | |
swift: ${{ matrix.swift }} | |
os: ${{ matrix.os }} | |
- name: "gh pr checkout and git config" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh pr checkout ${{ github.event.pull_request.number }} | |
git config user.name "${GITHUB_ACTOR}" | |
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
- name: "Update Mintfile" | |
run: | | |
swift .github/dependabot-mintfile/MintfileBuilder.swift | |
make commit file="Mintfile" | |
- name: "Update Sources" | |
run: | | |
make -j 3 install | |
- name: "git push, gh pr auto merge" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git push | |
gh pr merge --auto --merge "$PR_URL" | |
gh pr review --approve "$PR_URL" | |