mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-05 03:40:19 +00:00
Add body to secret
This commit is contained in:
16
.github/workflows/debug-info-actions.yml
vendored
16
.github/workflows/debug-info-actions.yml
vendored
@@ -21,20 +21,7 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
ISSUE_BODY=$(gh issue view $NUMBER --json body)
|
ISSUE_BODY=$(gh issue view $NUMBER --json body)
|
||||||
if [[ $ISSUE_BODY == *".eOxNZAmyGz6CXMyf"* ]]; then
|
if [[ $ISSUE_BODY == *".eOxNZAmyGz6CXMyf"* ]]; then
|
||||||
# comment on issue
|
gh issue comment "$NUMBER" --body "$V2_ISSUE_REPLY_BODY"
|
||||||
read -r -d '' REPLY << EOF
|
|
||||||
Hi there! This is an automatic reply. `Share and enjoy`
|
|
||||||
|
|
||||||
It seems your issue is about the new v2-layout that is currently in development for Firefly III.
|
|
||||||
|
|
||||||
These issues are collected in [a GitHub discussion](https://github.com/firefly-iii/firefly-iii/issues/8361).
|
|
||||||
|
|
||||||
Please note that the v2 layout is still very much in development.
|
|
||||||
|
|
||||||
Thank you for your contributions.
|
|
||||||
EOF
|
|
||||||
|
|
||||||
gh issue comment "$NUMBER" --body "$REPLY"
|
|
||||||
gh issue close "$NUMBER" --reason completed
|
gh issue close "$NUMBER" --reason completed
|
||||||
gh issue lock "$NUMBER"
|
gh issue lock "$NUMBER"
|
||||||
fi
|
fi
|
||||||
@@ -42,5 +29,6 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GH_REPO: ${{ github.repository }}
|
GH_REPO: ${{ github.repository }}
|
||||||
NUMBER: ${{ github.event.issue.number }}
|
NUMBER: ${{ github.event.issue.number }}
|
||||||
|
V2_ISSUE_REPLY_BODY: ${{ secrets.V2_ISSUE_REPLY_BODY }}
|
||||||
LABELS: v2-layout-issue
|
LABELS: v2-layout-issue
|
||||||
- uses: dessant/label-actions@v4
|
- uses: dessant/label-actions@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user