sigs.k8s.io/controller-runtime@v0.18.2/.github/workflows/pr-dependabot.yaml (about)

     1  name: PR dependabot go modules fix
     2  
     3  # This action runs on PRs opened by dependabot and updates modules.
     4  on:
     5    pull_request:
     6      branches:
     7        - dependabot/**
     8    push:
     9      branches:
    10        - dependabot/**
    11    workflow_dispatch:
    12  
    13  permissions:
    14    contents: write # Allow to update the PR.
    15  
    16  jobs:
    17    build:
    18      name: Build
    19      runs-on: ubuntu-latest
    20      steps:
    21      - name: Check out code
    22        uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # tag=v4.1.3
    23      - name: Set up Go
    24        uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0
    25        with:
    26          go-version: '1.22'
    27      - name: Update all modules
    28        run: make modules
    29      - uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # tag=v9.1.4
    30        name: Commit changes
    31        with:
    32          author_name: dependabot[bot]
    33          author_email: 49699333+dependabot[bot]@users.noreply.github.com
    34          default_author: github_actor
    35          message: 'Update generated code'