[Idea]: Folia support for OpenInv #196
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -40,26 +40,16 @@ jobs:
|
|||||||
merge-dependabot:
|
merge-dependabot:
|
||||||
name: Auto-merge Dependabot PRs
|
name: Auto-merge Dependabot PRs
|
||||||
needs: [ build ]
|
needs: [ build ]
|
||||||
if: github.event.name == 'pull_request_target' && github.actor == 'dependabot[bot]'
|
if: "github.event.name == 'pull_request_target'
|
||||||
|
&& github.actor == 'dependabot[bot]'
|
||||||
|
&& contains( github.event.pull_request.labels.*.name, 'java')"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Approve
|
||||||
# Filter dependency changes based on path.
|
|
||||||
- uses: dorny/paths-filter@v2
|
|
||||||
id: changes
|
|
||||||
with:
|
|
||||||
filters: |
|
|
||||||
maven:
|
|
||||||
- '**/pom.xml'
|
|
||||||
|
|
||||||
# Only auto-merge Maven changes.
|
|
||||||
- if: steps.changes.outputs.maven == 'true'
|
|
||||||
name: Approve
|
|
||||||
uses: hmarr/auto-approve-action@v2.0.0
|
uses: hmarr/auto-approve-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
- if: steps.changes.outputs.maven == 'true'
|
- name: Merge
|
||||||
name: Merge
|
|
||||||
uses: pascalgn/automerge-action@v0.15.2
|
uses: pascalgn/automerge-action@v0.15.2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
Reference in New Issue
Block a user