mirror of
https://github.com/containers/youki
synced 2025-12-31 12:41:42 +01:00
* chore(deps): bump libc from 0.2.172 to 0.2.173 in the patch group Bumps the patch group with 1 update: [libc](https://github.com/rust-lang/libc). Updates `libc` from 0.2.172 to 0.2.173 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.173/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.172...0.2.173) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.173 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com> * ci: update dependabot auto merge ci Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
name: 🤖 Dependabot automation
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
contents: write
|
|
repository-projects: write
|
|
|
|
jobs:
|
|
dependabot-automation:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
steps:
|
|
- name: Dependabot metadata
|
|
id: metadata
|
|
uses: dependabot/fetch-metadata@v1.3.5
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Approve & enable auto-merge for Dependabot PR
|
|
if: |
|
|
steps.metadata.outputs.update-type == 'version-update:semver-patch'
|
|
run: |
|
|
gh pr review --approve "$PR_URL"
|
|
gh pr edit "$PR_URL" -t "(auto merged) $PR_TITLE"
|
|
env:
|
|
PR_URL: ${{ github.event.pull_request.html_url }}
|
|
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
# This is needed otherwise the pr edit fails for some reason
|
|
# see https://github.com/cli/cli/issues/7558
|
|
GH_REPO: ${{ github.repository_owner }}/${{ github.event.repository.name }}
|
|
- name: Automerge
|
|
id: automerge
|
|
uses: pascalgn/automerge-action@v0.15.6
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
MERGE_LABELS: dependencies
|
|
MERGE_REQUIRED_APPROVALS: 1
|
|
MERGE_RETRY_SLEEP: 300000
|
|
MERGE_DELETE_BRANCH: true
|
|
MERGE_FILTER_AUTHOR: dependabot[bot]
|