-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (37 loc) · 1.3 KB
/
knownvar_bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Bump known vars
on:
schedule:
# Saturday 4:30am
- cron: "30 4 * * 6"
workflow_dispatch:
jobs:
bumpvar:
name: "Bump known vars"
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
if: github.repository == 'priv-kweihmann/oelint-adv'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install requirements
run: |
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential \
chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool \
file locales libacl1
sudo locale-gen en_US.UTF-8
- name: Bump known vars for master
run: ${GITHUB_WORKSPACE}/scripts/generate-knownvars master ${GITHUB_WORKSPACE}/oelint_adv/data/master.json
shell: bash
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
reviewers: priv-kweihmann
branch: "chore/dataupdate"
commit-message: "data: bump latest known variables"
title: "data: bump latest known variables"
body: "auto generated data update"
add-paths: |
oelint_adv/data/*.json