mirror of
https://github.com/YunoHost-Apps/fluxbb_ynh.git
synced 2024-09-03 18:36:14 +02:00
Fix
This commit is contained in:
parent
426f5e1bd3
commit
0f98fa5259
3 changed files with 1 additions and 79 deletions
48
.github/workflows/updater.yml
vendored
48
.github/workflows/updater.yml
vendored
|
@ -1,48 +0,0 @@
|
||||||
# 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
|
|
||||||
branch: ci-auto-update-v${{ env.VERSION }}
|
|
||||||
delete-branch: true
|
|
||||||
title: 'Upgrade to version ${{ env.VERSION }}'
|
|
||||||
body: |
|
|
||||||
Upgrade to v${{ env.VERSION }}
|
|
||||||
draft: false
|
|
30
Find Results
30
Find Results
|
@ -1,30 +0,0 @@
|
||||||
Searching 22 files for "language" (regex, case sensitive)
|
|
||||||
|
|
||||||
/Users/macmini/Documents/Github/fluxbb_ynh/check_process:
|
|
||||||
4 path="/path"
|
|
||||||
5 admin="john"
|
|
||||||
6: language="en"
|
|
||||||
7 is_public=1
|
|
||||||
8 password="password_fluxbb"
|
|
||||||
.
|
|
||||||
26 ; commit=6a8fea2965da32112d10a659637e3b1cd0b2c61c
|
|
||||||
27 name=1.5.11
|
|
||||||
28: manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=en&is_public=1&password=password_fluxbb&port=666&
|
|
||||||
29
|
|
||||||
|
|
||||||
/Users/macmini/Documents/Github/fluxbb_ynh/LICENSE:
|
|
||||||
106 A "Standard Interface" means an interface that either is an official
|
|
||||||
107 standard defined by a recognized standards body, or, in the case of
|
|
||||||
108: interfaces specified for a particular programming language, one that
|
|
||||||
109: is widely used among developers working in that language.
|
|
||||||
110
|
|
||||||
111 The "System Libraries" of an executable work include anything, other
|
|
||||||
|
|
||||||
/Users/macmini/Documents/Github/fluxbb_ynh/scripts/upgrade:
|
|
||||||
21 admin=$(ynh_app_setting_get --app=$app --key=admin)
|
|
||||||
22 final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|
||||||
23: language=$(ynh_app_setting_get --app=$app --key=language)
|
|
||||||
24 db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
|
||||||
25 phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|
||||||
|
|
||||||
6 matches across 3 files
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Fast, light, user-friendly forum software",
|
"en": "Fast, light, user-friendly forum software",
|
||||||
"fr": "Forum de discussions rapide et léger"
|
"fr": "Forum de discussions rapide et léger"
|
||||||
},
|
},
|
||||||
"version": "1.5.11~ynh2",
|
"version": "1.5.11~ynh3",
|
||||||
"url": "https://fluxbb.org/",
|
"url": "https://fluxbb.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-2.0-only",
|
"license": "GPL-2.0-only",
|
||||||
|
|
Loading…
Add table
Reference in a new issue