Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Updating kernel config #77

Updating kernel config

Updating kernel config #77

name: Updating kernel config
on:
schedule:
- cron: "0 0 * * *" # run at the start of every day
workflow_dispatch:
jobs:
update-config:
runs-on: ubuntu-latest
steps:
- name: Checking out repository code
uses: actions/checkout@v3
- name: Updating mainline config
run: sudo python3 .github/scripts/update-configs-chromeos.py
- name: Updating chromeos config
run: sudo python3 .github/scripts/update-configs-mainline.py
- name: Updating noinitramfs config
run: sudo python3 .github/scripts/update-configs-noinitramfs.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
# Disable setting repo owner as commit author
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Optional. Commit message for the created commit.
# Defaults to "Apply automatic changes"
commit_message: Update configs
# Optional glob pattern of files which should be added to the commit
# Defaults to all (.)
# See the `pathspec`-documentation for git
# - https://git-scm.com/docs/git-add#Documentation/git-add.txt-ltpathspecgt82308203
# - https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
file_pattern: 'build.sh kernel-configs/*'