-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (34 loc) · 1.06 KB
/
apt-update.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: apt update
on:
schedule:
- cron: "30 2 * * *"
workflow_dispatch:
jobs:
apt-update:
timeout-minutes: 10
runs-on: ubuntu-latest
# This container image needs to match the base image used in the Dockerfile
container: debian:bullseye-slim
steps:
- run: apt-get update
- run: apt-get install -y git jq
- uses: actions/checkout@v4
- name: update apt.json
run: .github/scripts/apt_update.sh --file .docker/apt.json
- uses: actions/upload-artifact@v3
with:
name: apt.json
path: .docker/apt.json
- uses: peter-evans/create-pull-request@v5
with:
commit-message: |
Update apt.json
Bump APT packages to their latest versions in `apt.json`.
branch: feature/update-apt-json
title: Update APT packages
body: Bump APT packages to their latest versions in `apt.json`.
delete-branch: true
labels: dependencies, apt
committer: PayEx <dev@payex.com>
author: PayEx <dev@payex.com>
token: ${{ secrets.APT_UPDATE_TOKEN }}