Update various actions

This commit is contained in:
James Cole 2023-02-19 08:52:46 +01:00
parent af73069409
commit 57f32ec987
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
6 changed files with 36 additions and 23 deletions

View File

@ -6,11 +6,11 @@ jobs:
name: SonarCloud name: SonarCloud
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan - name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master uses: SonarSource/sonarcloud-github-action@master
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

View File

@ -1,21 +1,21 @@
name: "Reply to closed issue" name: "Reply to closed issue"
on: on:
issues: issues:
types: types:
- closed - closed
jobs: jobs:
auto_comment: auto_comment:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -
uses: aws-actions/closed-issue-message@v1 uses: aws-actions/closed-issue-message@v1
with: with:
message: | message: |
Hi there! This is an automatic reply. `Share and enjoy` Hi there! This is an automatic reply. `Share and enjoy`
This issue is now closed. Please be aware that closed issues are not actively monitored. If you reply, you may get no response. This issue is now closed. Please be aware that closed issues are not actively monitored. If you reply, you may get no response.
- If the original bug is not actually fixed, please feel free to open a new ticket. Please refer to this issue for clarity. - If the original bug is not actually fixed, please feel free to open a new issue. Please refer to this issue for clarity.
- Follow-up questions can also be posted in a new [discussion](https://github.com/firefly-iii/firefly-iii/discussions/) - Follow-up questions can also be posted in a new [discussion](https://github.com/firefly-iii/firefly-iii/discussions/)
Thank you for your consideration. Thank you for your consideration.

View File

@ -11,4 +11,4 @@ jobs:
- name: 'Checkout Repository' - name: 'Checkout Repository'
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 'Dependency Review' - name: 'Dependency Review'
uses: actions/dependency-review-action@v1 uses: actions/dependency-review-action@v3

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Copy .env - name: Copy .env
run: test -f .env || cp .ci/.env.ci .env run: test -f .env || cp .ci/.env.ci .env
- name: Prepare dependencies - name: Prepare dependencies
@ -51,7 +51,7 @@ jobs:
- prepare - prepare
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Copy .env - name: Copy .env
run: test -f .env || cp .ci/.env.ci .env run: test -f .env || cp .ci/.env.ci .env
- name: Download database - name: Download database
@ -86,7 +86,7 @@ jobs:
- prepare - prepare
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Copy .env - name: Copy .env
run: test -f .env || cp .ci/.env.ci .env run: test -f .env || cp .ci/.env.ci .env
- name: Download database - name: Download database
@ -120,7 +120,7 @@ jobs:
- prepare - prepare
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Copy .env - name: Copy .env
run: test -f .env || cp .ci/.env.ci .env run: test -f .env || cp .ci/.env.ci .env
- name: Download database - name: Download database

View File

@ -15,7 +15,16 @@ jobs:
pull-requests: write # for dessant/lock-threads to lock PRs pull-requests: write # for dessant/lock-threads to lock PRs
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v2 - uses: dessant/lock-threads@v4
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
issue-lock-inactive-days: '90' issue-lock-inactive-days: '90'
issue-comment: >
Hi there! This is an automatic reply. `Share and enjoy`
This issue is now `locked` :lock:.
- If you feel there is more to be said about this specific issue, please feel free to open a new issue. Please refer to this issue for clarity.
- Follow-up questions and comments can also be posted in a new [discussion](https://github.com/firefly-iii/firefly-iii/discussions/)
Thank you for your consideration.

View File

@ -18,13 +18,17 @@ jobs:
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: > stale-issue-message: >
This issue has been automatically marked as stale because it has not had Hi there! This is an automatic reply. `Share and enjoy`
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions. 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.
stale-pr-message: > stale-pr-message: >
This issue has been automatically marked as stale because it has not had Hi there! This is an automatic reply. `Share and enjoy`
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions. 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.
days-before-stale: 14 days-before-stale: 14
days-before-close: 7 days-before-close: 7
exempt-issue-labels: 'enhancement,feature,bug,announcement,layout-v3' exempt-issue-labels: 'enhancement,feature,bug,announcement,layout-v3'