Bump mods/mtg/default from 7a303b1
to 2e64f66
#396
Workflow file for this run
This file contains 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: automerge | |
on: pull_request | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: test with latest engine | |
run: docker compose up --exit-code-from testserver | |
env: | |
ENGINE_IMAGE: "ghcr.io/minetest-hosting/minetest-docker:main" | |
- name: fetch metadata | |
id: metadata | |
uses: dependabot/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Enable auto-merge for Dependabot PRs | |
if: ${{ | |
success() && ( | |
contains(steps.metadata.outputs.dependency-names, 'pipeworks') || | |
contains(steps.metadata.outputs.dependency-names, 'technic') || | |
contains(steps.metadata.outputs.dependency-names, 'homedecor_modpack') || | |
contains(steps.metadata.outputs.dependency-names, 'home_workshop_modpack') || | |
contains(steps.metadata.outputs.dependency-names, 'biome_lib') || | |
contains(steps.metadata.outputs.dependency-names, 'basic_materials') || | |
contains(steps.metadata.outputs.dependency-names, 'basic_signs') || | |
contains(steps.metadata.outputs.dependency-names, 'blox') || | |
contains(steps.metadata.outputs.dependency-names, 'coloredwood') || | |
contains(steps.metadata.outputs.dependency-names, 'currency') || | |
contains(steps.metadata.outputs.dependency-names, 'dreambuilder_hotbar') || | |
contains(steps.metadata.outputs.dependency-names, 'gloopblocks') || | |
contains(steps.metadata.outputs.dependency-names, 'ilights') || | |
contains(steps.metadata.outputs.dependency-names, 'led_marquee') || | |
contains(steps.metadata.outputs.dependency-names, 'moretrees') || | |
contains(steps.metadata.outputs.dependency-names, 'new_campfire') || | |
contains(steps.metadata.outputs.dependency-names, 'nixie_tubes') || | |
contains(steps.metadata.outputs.dependency-names, 'signs_lib') || | |
contains(steps.metadata.outputs.dependency-names, 'simple_streetlights') || | |
contains(steps.metadata.outputs.dependency-names, 'steel') || | |
contains(steps.metadata.outputs.dependency-names, 'street_signs') || | |
contains(steps.metadata.outputs.dependency-names, 'travelnet') || | |
contains(steps.metadata.outputs.dependency-names, 'unifieddyes') || | |
contains(steps.metadata.outputs.dependency-names, 'plantlife_modpack') || | |
contains(steps.metadata.outputs.dependency-names, 'xcompat') || | |
contains(steps.metadata.outputs.dependency-names, 'mods/mtg') )}} | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |