Merge pull request #940 from nextcloud/renovate/github-codeql-action-4.x #1438
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 }} | ||