mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 02:52:44 +00:00
Merge branch 'main' into develop
This commit is contained in:
16
.github/dependabot.yml
vendored
16
.github/dependabot.yml
vendored
@@ -1,11 +1,16 @@
|
|||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
|
||||||
|
# Check for updates to GitHub Actions every week
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
|
||||||
# composer updates
|
# composer updates
|
||||||
- package-ecosystem: "composer"
|
- package-ecosystem: "composer"
|
||||||
directory: "/" # Location of package manifests
|
directory: "/" # Location of package manifests
|
||||||
target-branch: develop
|
target-branch: develop
|
||||||
labels: [ "bug" ]
|
|
||||||
versioning-strategy: increase
|
versioning-strategy: increase
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
@@ -14,15 +19,6 @@ updates:
|
|||||||
- package-ecosystem: "npm"
|
- package-ecosystem: "npm"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
target-branch: develop
|
target-branch: develop
|
||||||
labels: [ "bug" ]
|
|
||||||
versioning-strategy: increase
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
|
||||||
directory: "/"
|
|
||||||
target-branch: develop
|
|
||||||
labels: [ "bug" ]
|
|
||||||
versioning-strategy: increase
|
versioning-strategy: increase
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
4
.github/workflows/cleanup.yml
vendored
4
.github/workflows/cleanup.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- name: Prune cancelled/skipped runs
|
- name: Prune cancelled/skipped runs
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_ACTIONS_PERSONAL_ACCESS_TOKEN }}
|
github-token: ${{ secrets.GH_ACTIONS_PERSONAL_ACCESS_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
- name: Prune runs older than 3 days
|
- name: Prune runs older than 3 days
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_ACTIONS_PERSONAL_ACCESS_TOKEN }}
|
github-token: ${{ secrets.GH_ACTIONS_PERSONAL_ACCESS_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
4
.github/workflows/depsreview.yml
vendored
4
.github/workflows/depsreview.yml
vendored
@@ -9,8 +9,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout repository'
|
- name: 'Checkout repository'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: 'Dependency review'
|
- name: 'Dependency review'
|
||||||
uses: actions/dependency-review-action@v3
|
uses: actions/dependency-review-action@v4
|
||||||
|
33
.github/workflows/release.yml
vendored
33
.github/workflows/release.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
|
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
|
||||||
- name: Cleanup translations
|
- name: Cleanup translations
|
||||||
id: cleanup-transactions
|
id: cleanup-transactions
|
||||||
uses: JC5/firefly-iii-dev@v16
|
uses: JC5/firefly-iii-dev@v29
|
||||||
with:
|
with:
|
||||||
action: 'ff3:crowdin-warning'
|
action: 'ff3:crowdin-warning'
|
||||||
output: ''
|
output: ''
|
||||||
@@ -60,16 +60,25 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Cleanup changelog
|
- name: Cleanup changelog
|
||||||
id: cleanup-changelog
|
id: cleanup-changelog
|
||||||
uses: JC5/firefly-iii-dev@v16
|
uses: JC5/firefly-iii-dev@v29
|
||||||
with:
|
with:
|
||||||
action: 'ff3:changelog'
|
action: 'ff3:changelog'
|
||||||
output: ''
|
output: ''
|
||||||
env:
|
env:
|
||||||
FIREFLY_III_ROOT: /github/workspace
|
FIREFLY_III_ROOT: /github/workspace
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
- name: Extract changelog
|
||||||
|
id: extract-changelog
|
||||||
|
uses: JC5/firefly-iii-dev@v29
|
||||||
|
with:
|
||||||
|
action: 'ff3:extract-changelog'
|
||||||
|
output: 'output'
|
||||||
|
env:
|
||||||
|
FIREFLY_III_ROOT: /github/workspace
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Generate JSON v1
|
- name: Generate JSON v1
|
||||||
id: json-v1
|
id: json-v1
|
||||||
uses: JC5/firefly-iii-dev@v16
|
uses: JC5/firefly-iii-dev@v29
|
||||||
with:
|
with:
|
||||||
action: 'ff3:json-translations v1'
|
action: 'ff3:json-translations v1'
|
||||||
output: ''
|
output: ''
|
||||||
@@ -78,7 +87,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Generate JSON v2
|
- name: Generate JSON v2
|
||||||
id: json-v2
|
id: json-v2
|
||||||
uses: JC5/firefly-iii-dev@v16
|
uses: JC5/firefly-iii-dev@v29
|
||||||
with:
|
with:
|
||||||
action: 'ff3:json-translations v2'
|
action: 'ff3:json-translations v2'
|
||||||
output: ''
|
output: ''
|
||||||
@@ -87,7 +96,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Code cleanup
|
- name: Code cleanup
|
||||||
id: code-cleanup
|
id: code-cleanup
|
||||||
uses: JC5/firefly-iii-dev@v16
|
uses: JC5/firefly-iii-dev@v29
|
||||||
with:
|
with:
|
||||||
action: 'ff3:code'
|
action: 'ff3:code'
|
||||||
output: ''
|
output: ''
|
||||||
@@ -100,7 +109,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
- name: Build old JS
|
- name: Build old JS
|
||||||
id: old-js
|
id: old-js
|
||||||
uses: JC5/firefly-iii-dev@v16
|
uses: JC5/firefly-iii-dev@v29
|
||||||
with:
|
with:
|
||||||
action: 'ff3:old-js'
|
action: 'ff3:old-js'
|
||||||
output: ''
|
output: ''
|
||||||
@@ -126,19 +135,25 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
|
if test -f "output.txt"; then
|
||||||
|
git reset output.txt
|
||||||
|
fi
|
||||||
git commit -m "Auto commit for release '$version' on $(date +'%Y-%m-%d')" || true
|
git commit -m "Auto commit for release '$version' on $(date +'%Y-%m-%d')" || true
|
||||||
git push
|
git push
|
||||||
|
|
||||||
if [[ "develop" == "$version" ]]; then
|
if [[ "develop" == "$version" ]]; then
|
||||||
echo "Create nightly release."
|
echo "Create nightly release."
|
||||||
git tag -a $version-$(date +'%Y%m%d') -m "Release '$version' on $(date +'%Y-%m-%d')"
|
git tag -a $version-$(date +'%Y%m%d') -m "Nightly development release '$version' on $(date +'%Y-%m-%d')"
|
||||||
git push origin $version-$(date +'%Y%m%d')
|
git push origin $version-$(date +'%Y%m%d')
|
||||||
gh release create $version-$(date +'%Y%m%d') -p -t "Nightly dev-release $(date +'%Y-%m-%d')" --verify-tag
|
gh release create $version-$(date +'%Y%m%d') -p --verify-tag \
|
||||||
|
-t "Development release for $(date +'%Y-%m-%d')" \
|
||||||
|
-n "Bi-weekly development release of Firefly III with the latest fixes, translations and features. This release was created on **$(date +'%Y-%m-%d')** and may contain bugs. Use at your own risk. Docker users can find this release under the `develop` tag."
|
||||||
else
|
else
|
||||||
echo "Create default release."
|
echo "Create default release."
|
||||||
git tag -a $version -m "Here be changelog"
|
git tag -a $version -m "Here be changelog"
|
||||||
git push origin $version
|
git push origin $version
|
||||||
gh release create $version --notes-from-tag -t "$version" --verify-tag
|
gh release create $version -F output.txt -t "$version" --verify-tag
|
||||||
|
rm -f output.txt
|
||||||
git checkout develop
|
git checkout develop
|
||||||
git merge main
|
git merge main
|
||||||
git push
|
git push
|
||||||
|
14
.github/workflows/stale.yml
vendored
14
.github/workflows/stale.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: "Issues - Close stale issues"
|
name: "Issues - Mark and close stale issues"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 1 * * *"
|
- cron: "30 1 * * *"
|
||||||
@@ -14,21 +14,25 @@ jobs:
|
|||||||
pull-requests: write # for actions/stale to close stale PRs
|
pull-requests: write # for actions/stale to close stale PRs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v6
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: >
|
stale-issue-message: >
|
||||||
Hi there! This is an automatic reply. `Share and enjoy`
|
Hi there!
|
||||||
|
|
||||||
|
This is an automatic reply. `Share and enjoy`
|
||||||
|
|
||||||
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
|
||||||
|
|
||||||
Thank you for your contributions.
|
Thank you for your contributions.
|
||||||
stale-pr-message: >
|
stale-pr-message: >
|
||||||
Hi there! This is an automatic reply. `Share and enjoy`
|
Hi there!
|
||||||
|
|
||||||
|
This is an automatic reply. `Share and enjoy`
|
||||||
|
|
||||||
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
|
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
|
||||||
|
|
||||||
Thank you for your contributions.
|
Thank you for your contributions.
|
||||||
days-before-stale: 14
|
days-before-stale: 14
|
||||||
days-before-close: 7
|
days-before-close: 7
|
||||||
exempt-issue-labels: 'enhancement,feature,bug,announcement,epic'
|
exempt-issue-labels: 'enhancement,feature,bug,announcement,epic,triage'
|
||||||
|
Reference in New Issue
Block a user