-
Notifications
You must be signed in to change notification settings - Fork 46
38 lines (32 loc) · 1.03 KB
/
check-version.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
name: Check Docker images for updates
on:
push:
branches:
- develop
workflow_dispatch:
jobs:
build:
name: Check for updates
runs-on: ubuntu-latest
steps:
- name: Checkout Sedge repo
uses: actions/checkout@v4
- name: Authenticate App
id: gh-app
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Run update check script
run: chmod +x ./scripts/check-image-updates.sh && ./scripts/check-image-updates.sh
env:
PAT: ${{ steps.gh-app.outputs.token }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.gh-app.outputs.token }}
commit-message: Update image versions to latest version.
title: "[Update] Update image versions"
reviewers: AntiD2ta, adriantpaez, stdevMac, cbermudez97
branch: feature/update-container-images
draft: false