Skip to content

bump gitlab-runner-linux-amd64 to v18.11.3 #92

bump gitlab-runner-linux-amd64 to v18.11.3

bump gitlab-runner-linux-amd64 to v18.11.3 #92

name: Dependabot auto-merge

Check failure on line 1 in .github/workflows/auto-merge-dependabot.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-merge-dependabot.yml

Invalid workflow file

(Line: 19, Col: 13): Unexpected symbol: '"github_actions"'. Located at position 51 within expression: contains(github.event.pull_request.labels.*.name, "github_actions")
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: contains(github.event.pull_request.labels.*.name, "github_actions")
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}