mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-22 11:11:25 +00:00
Compare commits
3 Commits
v6.4.6
...
JC5-patch-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9448402d9f | ||
|
|
27c1d33a70 | ||
|
|
c5ed6fbe52 |
2
.github/ISSUE_TEMPLATE/bug.yml
vendored
2
.github/ISSUE_TEMPLATE/bug.yml
vendored
@@ -6,7 +6,7 @@ body:
|
|||||||
label: Support guidelines
|
label: Support guidelines
|
||||||
description: Please read the support guidelines before proceeding.
|
description: Please read the support guidelines before proceeding.
|
||||||
options:
|
options:
|
||||||
- label: I've read the [support guidelines](https://github.com/firefly-iii/firefly-iii/blob/main/.github/support.md)
|
- label: I've read the <!-- MZ2udTpin6FL --> [support guidelines](https://github.com/firefly-iii/firefly-iii/blob/main/.github/support.md)
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
|
|||||||
2
.github/workflows/cleanup.yml
vendored
2
.github/workflows/cleanup.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
'cleanup.yml',
|
'cleanup.yml',
|
||||||
'close-duplicates.yml',
|
'close-duplicates.yml',
|
||||||
'closed-issues.yml',
|
'closed-issues.yml',
|
||||||
'debug-info-actions.yml',
|
'issues-reply-old-versions.yml',
|
||||||
'depsreview.yml',
|
'depsreview.yml',
|
||||||
'label-actions.yml',
|
'label-actions.yml',
|
||||||
'lock.yml',
|
'lock.yml',
|
||||||
|
|||||||
32
.github/workflows/debug-info-actions.yml
vendored
32
.github/workflows/debug-info-actions.yml
vendored
@@ -1,32 +0,0 @@
|
|||||||
name: 'Issues - Respond to hidden commands'
|
|
||||||
|
|
||||||
# the workflow to execute on is comments that are newly created
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [ opened, edited ]
|
|
||||||
issue_comment:
|
|
||||||
types: [ created ]
|
|
||||||
|
|
||||||
# permissions needed for reacting to IssueOps commands on issues and PRs
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: write
|
|
||||||
issues: write
|
|
||||||
checks: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
respond:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
ISSUE_BODY=$(gh issue view $NUMBER --json body)
|
|
||||||
if [[ $ISSUE_BODY == *".eOxNZAmyGz6CXMyf"* ]]; then
|
|
||||||
gh issue comment "$NUMBER" --body "$V2_ISSUE_REPLY_BODY"
|
|
||||||
gh issue close "$NUMBER" --reason completed
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
GH_REPO: ${{ github.repository }}
|
|
||||||
NUMBER: ${{ github.event.issue.number }}
|
|
||||||
V2_ISSUE_REPLY_BODY: ${{ secrets.V2_ISSUE_REPLY_BODY }}
|
|
||||||
LABELS: v2-layout-issue
|
|
||||||
60
.github/workflows/issues-reply-old-versions.yml
vendored
Normal file
60
.github/workflows/issues-reply-old-versions.yml
vendored
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
name: 'Issues - Respond to old versions'
|
||||||
|
|
||||||
|
# the workflow to execute on is comments that are newly created
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [ opened ]
|
||||||
|
|
||||||
|
# permissions needed for reacting to IssueOps commands on issues and PRs
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
|
checks: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
respond:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- id: ff3version
|
||||||
|
uses: pozetroninc/github-action-get-latest-release@master
|
||||||
|
with:
|
||||||
|
owner: firefly-iii
|
||||||
|
repo: firefly-iii
|
||||||
|
excludes: prerelease, draft
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- id: importerversion
|
||||||
|
uses: pozetroninc/github-action-get-latest-release@master
|
||||||
|
with:
|
||||||
|
owner: firefly-iii
|
||||||
|
repo: data-importer
|
||||||
|
excludes: prerelease, draft
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- run: |
|
||||||
|
# sure this can be done in a single step but still.
|
||||||
|
FFNOV="${{ steps.ff3version.outputs.release }}"
|
||||||
|
FFNOV="${FFNOV:1}"
|
||||||
|
|
||||||
|
DDNOV="${{ steps.importerversion.outputs.release }}"
|
||||||
|
DDNOV="${DDNOV:1}"
|
||||||
|
|
||||||
|
echo "Version is ${{ steps.ff3version.outputs.release }}, without v is $FFNOV"
|
||||||
|
|
||||||
|
ISSUE_BODY=$(gh issue view $NUMBER --json body)
|
||||||
|
if [[ $ISSUE_BODY == *"MZ2udTpin6FL"* && $ISSUE_BODY != *${{ steps.ff3version.outputs.release }}* && $ISSUE_BODY != *${{ steps.importerversion.outputs.release }}* ]]; then
|
||||||
|
|
||||||
|
MESSAGE="Hi there!
|
||||||
|
|
||||||
|
This is an automated reply. \`Share and enjoy\`
|
||||||
|
|
||||||
|
You triggered an automated reply, because it looks like you're not running Firefly III version **${{ steps.ff3version.outputs.release }}** or version **${{ steps.importerversion.outputs.release }}** of the data importer.
|
||||||
|
|
||||||
|
Please be so kind as to include the output from the \`/debug\`-page, if you have not done so already. If you already included the debug information, plase make sure to upgrade to the latest version of Firefly III (or the data importer) *first*. This may already solve your issue.
|
||||||
|
|
||||||
|
If you are running the latest version, and this message is wrong, my apologies for the intrusion."
|
||||||
|
gh issue comment "$NUMBER" --body "$MESSAGE"
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_REPO: ${{ github.repository }}
|
||||||
|
NUMBER: ${{ github.event.issue.number }}
|
||||||
Reference in New Issue
Block a user