mirror of
https://github.com/YunoHost-Apps/bludit_ynh.git
synced 2024-09-03 18:06:13 +02:00
62ecaef4af
* Update README.md
* Use SVG badge
* Smaal fixes
* Cleaning up
* [autopatch] Missing ynh_abort_if_errors in change_url scripts (#6)
Co-authored-by: Yunohost-Bot <>
* Update manifest.json
* Update manifest.json
* Fix
* [autopatch] Update issue and PR templates (#8)
Co-authored-by: Yunohost-Bot <>
* Add templates
* Update check_process
* Add templates
* Add screenshots
* Post max size
* Auto-update README
* Update manifest.json
* Auto-update README
* Create updater.yml
* Fix
* Cleaning up
* Fix
* Update manifest.json
* Update manifest.json
* Auto-update README
* Update manifest.json
* Auto-update README
* Upgrade to version 4.0.0-beta2 (#16)
* Upgrade to v4.0.0-beta2
* Auto-update README
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
* 4.3 (#15)
* Upgrade to v4.0.0-beta3
* Auto-update README
* rc3
* Auto-update README
* php8
* Update check_process
* Fix demo link
* Auto-update README
* reorder
* Auto-update README
* Upgrade to bullseye
* Auto-update README
* Update upgrade
* Upgrade (#30)
* Testing (#17)
* Update README.md
* Use SVG badge
* Smaal fixes
* Cleaning up
* [autopatch] Missing ynh_abort_if_errors in change_url scripts (#6)
Co-authored-by: Yunohost-Bot <>
* Update manifest.json
* Update manifest.json
* Fix
* [autopatch] Update issue and PR templates (#8)
Co-authored-by: Yunohost-Bot <>
* Add templates
* Update check_process
* Add templates
* Add screenshots
* Post max size
* Auto-update README
* Update manifest.json
* Auto-update README
* Create updater.yml
* Fix
* Cleaning up
* Fix
* Update manifest.json
* Update manifest.json
* Auto-update README
* Update manifest.json
* Auto-update README
* Upgrade to version 4.0.0-beta2 (#16)
* Upgrade to v4.0.0-beta2
* Auto-update README
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
* 4.3 (#15)
* Upgrade to v4.0.0-beta3
* Auto-update README
* rc3
* Auto-update README
* php8
* Update check_process
* Fix demo link
* Auto-update README
* reorder
* Auto-update README
* Upgrade to bullseye
* Auto-update README
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: tituspijean <tituspijean@outlook.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
* Revert "Testing (#17)" (#25)
This reverts commit 64a84a3dc7
.
* 3.14.1 (#28)
* 3.14.1
* Auto-update README
* Update upgrade
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
* Apply example_ynh
* Auto-update README
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: tituspijean <tituspijean@outlook.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
* Auto-update README
* Update manifest.json
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
* Auto-update README
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: tituspijean <tituspijean@outlook.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
49 lines
1.9 KiB
YAML
49 lines
1.9 KiB
YAML
# This workflow allows GitHub Actions to automagically update your app whenever a new upstream release is detected.
|
|
# You need to enable Actions in your repository settings, and fetch this Action from the YunoHost-Apps organization.
|
|
# This file should be enough by itself, but feel free to tune it to your needs.
|
|
# It calls updater.sh, which is where you should put the app-specific update steps.
|
|
name: Check for new upstream releases
|
|
on:
|
|
# Allow to manually trigger the workflow
|
|
workflow_dispatch:
|
|
# Run it every day at 6:00 UTC
|
|
schedule:
|
|
- cron: '0 6 * * *'
|
|
jobs:
|
|
updater:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fetch the source code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Run the updater script
|
|
id: run_updater
|
|
run: |
|
|
# Setting up Git user
|
|
git config --global user.name 'yunohost-bot'
|
|
git config --global user.email 'yunohost-bot@users.noreply.github.com'
|
|
# Run the updater script
|
|
/bin/bash .github/workflows/updater.sh
|
|
- name: Commit changes
|
|
id: commit
|
|
if: ${{ env.PROCEED == 'true' }}
|
|
run: |
|
|
git commit -am "Upgrade to v$VERSION"
|
|
- name: Create Pull Request
|
|
id: cpr
|
|
if: ${{ env.PROCEED == 'true' }}
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: Update to version ${{ env.VERSION }}
|
|
committer: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
|
|
author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
|
|
signoff: false
|
|
base: testing
|
|
branch: ci-auto-update-v${{ env.VERSION }}
|
|
delete-branch: true
|
|
title: 'Upgrade to version ${{ env.VERSION }}'
|
|
body: |
|
|
Upgrade to v${{ env.VERSION }}
|
|
draft: false
|