-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 1.2 KB
/
dependency-review.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
43
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: Weekly update base images and 3rd party images
on:
workflow_dispatch:
jobs:
freeze-images:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: "main"
- name: Set up Git
run: |
git config --global user.name "Sun, Xuehao"
git config --global user.email "[email protected]"
git remote set-url origin https://XuehaoSun:"${{ secrets.ACTION_TOKEN }}"@github.com/XuehaoSun/test-azure.git
git checkout -b update_images_tag
- name: Run script
run: |
echo test >> test.txt
- name: Commit changes
run: |
git add .
git commit -s -m "Update third party images tag"
git push
- name: create pull request
run: gh pr create -B main -H update_images_tag --title 'Update ghcr.io/huggingface/text-generation-inference image tag' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}