This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Updating kernel config #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- 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/*' |