Merge pull request #924 from nextcloud/renovate/actions-checkout-6.x #1373
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
| * SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors | ||
| * SPDX-FileCopyrightText: 2020 Tobias Kaminsky <[email protected]> | ||
| * SPDX-License-Identifier: GPL-3.0-or-later | ||
| name: Dependabot | ||
| on: pull_request_target | ||
| jobs: | ||
| auto-merge: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| # Default github action approve | ||
| - uses: hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v 4.0.0 | ||
| if: github.ref == 'refs/heads/master' && | ||
| (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]') | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| # Nextcloud bot approve and merge request | ||
| - uses: ahmadnassri/action-dependabot-auto-merge@action-dependabot-auto-merge # v 2.0.0 | ||
| if: github.ref == 'refs/heads/master' && | ||
| (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]') | ||
| with: | ||
| target: minor | ||
| github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }} | ||