File tree Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ # This GitHub action is meant to be triggered weekly in order to update the pipfile.locks
3
+
4
+ name : Weekly Pipfile.locks renewal on [2024a] branch
5
+
6
+ on : # yamllint disable-line rule:truthy
7
+ # Triggers the workflow every Monday at 22pm UTC am 0 22 * * 1
8
+ schedule :
9
+ - cron : " 0 22 * * 1"
10
+ workflow_dispatch : # for manual trigger workflow from GH Web UI
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+
16
+ permissions :
17
+ # Give the default GITHUB_TOKEN write permission to commit and push the
18
+ # added or changed files to the repository.
19
+ contents : write
20
+
21
+ steps :
22
+ # Checkout the paricular branch
23
+ - name : Checkout code from the release branch
24
+ uses : actions/checkout@v4
25
+ with :
26
+ ref : 2024a
27
+ token : ${{ secrets.GH_ACCESS_TOKEN }}
28
+
29
+ # Setup Python environment
30
+ - name : Setup Python environment
31
+ uses : actions/setup-python@v5
32
+ with :
33
+ python-version : |
34
+ 3.8
35
+ 3.9
36
+ - name : Install pipenv
37
+ run : pip install pipenv
38
+
39
+ # Runs the makefile recipe `refresh-pipfilelock-files` and push the chances back to the branch
40
+ - name : Run make refresh-pipfilelock-files and push the chances back to the branch
41
+ run : |
42
+ make refresh-pipfilelock-files
43
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
44
+ git config --global user.name "GitHub Actions"
45
+ git add .
46
+ git commit -m "Update the pipfile.lock via the weekly workflow action"
47
+ git push
Original file line number Diff line number Diff line change 1
1
IMAGE_REGISTRY ?= quay.io/opendatahub/workbench-images
2
- RELEASE ?= 2023b
2
+ RELEASE ?= 2024a
3
3
4
4
# OS dependant: Generate date, select appropriate cmd to locate container engine
5
5
ifeq ($(OS ) , Windows_NT)
You can’t perform that action at this time.
0 commit comments