ci: update global workflows (#396)

This commit is contained in:
LizardByte-bot
2022-10-10 12:07:07 -04:00
committed by GitHub
parent 99f9174353
commit de091570b9
5 changed files with 20 additions and 10 deletions

View File

@@ -5,6 +5,14 @@
version: 2 version: 2
updates: updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
time: "00:00"
target-branch: "nightly"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"
directory: "/" directory: "/"
schedule: schedule:

View File

@@ -25,8 +25,8 @@ invalid:duplicate:
invalid:support: invalid:support:
comment: > comment: >
:wave: @{issue-author}, we use the issue tracker exclusively for bug reports. :wave: @{issue-author}, we use the issue tracker exclusively for bug reports.
However, this issue appears to be a support request. Please use However, this issue appears to be a support request. Please use our
[Discord](https://docs.lizardbyte.dev/about/support.html#discord) for support issues. Thanks. [Support Center](https://app.lizardbyte.dev/support) for support issues. Thanks.
close: true close: true
lock: true lock: true
lock-reason: 'off-topic' lock-reason: 'off-topic'

View File

@@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Stale - name: Stale
uses: actions/stale@v5 uses: actions/stale@v6
with: with:
close-issue-message: > close-issue-message: >
This issue was closed because it has been stalled for 5 days with no activity. This issue was closed because it has been stalled for 10 days with no activity.
close-pr-message: > close-pr-message: >
This PR was closed because it has been stalled for 10 days with no activity. This PR was closed because it has been stalled for 10 days with no activity.
days-before-stale: 90 days-before-stale: 90
@@ -28,15 +28,16 @@ jobs:
exempt-pr-labels: 'dependencies,l10n' exempt-pr-labels: 'dependencies,l10n'
stale-issue-label: 'stale' stale-issue-label: 'stale'
stale-issue-message: > stale-issue-message: >
This issue is stale because it has been open for 30 days with no activity. This issue is stale because it has been open for 90 days with no activity.
Comment or remove the stale label, otherwise this will be closed in 5 days. Comment or remove the stale label, otherwise this will be closed in 10 days.
stale-pr-label: 'stale' stale-pr-label: 'stale'
stale-pr-message: > stale-pr-message: >
This PR is stale because it has been open for 90 days with no activity. This PR is stale because it has been open for 90 days with no activity.
Comment or remove the stale label, otherwise this will be closed in 10 days. Comment or remove the stale label, otherwise this will be closed in 10 days.
repo-token: ${{ secrets.GH_BOT_TOKEN }}
- name: Invalid Template - name: Invalid Template
uses: actions/stale@v5 uses: actions/stale@v6
with: with:
close-issue-message: > close-issue-message: >
This issue was closed because the the template was not completed after 5 days. This issue was closed because the the template was not completed after 5 days.
@@ -52,3 +53,4 @@ jobs:
stale-pr-label: 'invalid:template-incomplete' stale-pr-label: 'invalid:template-incomplete'
stale-pr-message: > stale-pr-message: >
Invalid PR template. Invalid PR template.
repo-token: ${{ secrets.GH_BOT_TOKEN }}

View File

@@ -19,4 +19,4 @@ jobs:
- name: Label Actions - name: Label Actions
uses: dessant/label-actions@v2 uses: dessant/label-actions@v2
with: with:
github-token: ${{ github.token }} github-token: ${{ secrets.GH_BOT_TOKEN }}

View File

@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: yaml lint - name: yaml lint
id: yaml-lint id: yaml-lint
@@ -39,7 +39,7 @@ jobs:
echo ${{ steps.yaml-lint.outputs.logfile }} echo ${{ steps.yaml-lint.outputs.logfile }}
- name: Upload logs - name: Upload logs
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: yamllint-logfile name: yamllint-logfile