mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/c165a969-ebb0-4afd-ac19-c02c3887bc94 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: imaginary-update
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '00 12 * * *'
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
run_update:
|
|
name: update to latest imaginary commit on master branch
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Run imaginary-update
|
|
run: |
|
|
# Imaginary
|
|
imaginary_version="$(
|
|
git ls-remote https://github.com/h2non/imaginary master \
|
|
| cut -f1 \
|
|
| tail -1
|
|
)"
|
|
sed -i "s|^ENV IMAGINARY_HASH.*$|ENV IMAGINARY_HASH=$imaginary_version|" ./Containers/imaginary/Dockerfile
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: imaginary-update automated change
|
|
signoff: true
|
|
title: Imaginary update
|
|
body: Automated Imaginary container update
|
|
labels: dependencies, 3. to review
|
|
milestone: next
|
|
branch: imaginary-container-update
|