Skip to content

bump.yml

bump.yml #86

Workflow file for this run

# The primary point of this workflow is to ensure that the developer experience is good.
# We take a very vanilla ubuntu image, install all necessary dependencies via "normal" means,
# and then run the build and test steps as described in the README.md file.
# The artifacts produced by these builds are not intended to be used for anything other than
# ensuring that the developer experience is good.
# Production artifacts are produced in a sterile environment (in another CI workflow).
name: "bump.yml"
on:
workflow_dispatch:
inputs:
dpdk_sys_branch:
type: "string"
default: "main"
description: "which branch to bump"
required: true
schedule:
- cron: "3 10 * * 0"
env:
dpdk_sys_branch: ${{ github.event.inputs.dpdk_sys_branch || 'main' }}
permissions:
contents: "write"
pull-requests: "write"
id-token: "write"
jobs:
bump:
runs-on:
- "lab"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
ref: "${{ env.dpdk_sys_branch }}"
- uses: "dtolnay/rust-toolchain@stable"
- uses: "cargo-bins/cargo-binstall@main"
- run: |
cargo binstall --no-confirm just
- name: "install nix"
uses: "cachix/install-nix-action@v30"
- name: "bump"
run: |
just bump "${{ env.dpdk_sys_branch }}"
- name: "Create Pull Request"
uses: "peter-evans/create-pull-request@v7"
with:
branch: "bump/${{ env.dpdk_sys_branch }}"
title: "bump/${{ env.dpdk_sys_branch }}"
labels: |
automated
dependencies
sign-commits: "true"