diff --git a/.github/lock.yml b/.github/lock.yml deleted file mode 100644 index 2cb1fb1e04..0000000000 --- a/.github/lock.yml +++ /dev/null @@ -1,40 +0,0 @@ -# -# Configuration for Lock Threads - https://github.com/dessant/lock-threads-app -# - -# Number of days of inactivity before a closed issue or pull request is locked -daysUntilLock: 90 - -# Skip issues and pull requests created before a given timestamp. Timestamp must -# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable -skipCreatedBefore: false - -# Issues and pull requests with these labels will be ignored. Set to `[]` to disable -exemptLabels: [ 'no-locking' ] - -# Label to add before locking, such as `outdated`. Set to `false` to disable -lockLabel: false - -# Comment to post before locking. Set to `false` to disable -lockComment: > - This thread has been automatically locked since there has not been - any recent activity after it was closed. Please open a new issue for - related bugs. - -# Assign `resolved` as the reason for locking. Set to `false` to disable -setLockReason: true - -# Limit to only `issues` or `pulls` -# only: issues - -# Optionally, specify configuration settings just for `issues` or `pulls` -# issues: -# exemptLabels: -# - help-wanted -# lockLabel: outdated - -# pulls: -# daysUntilLock: 30 - -# Repository to extend settings from -# _extends: repo diff --git a/.github/workflows/buildBinary.yml b/.github/workflows/buildBinary.yml index fa070cca3f..28b0c84b91 100644 --- a/.github/workflows/buildBinary.yml +++ b/.github/workflows/buildBinary.yml @@ -18,12 +18,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: '3.7' + python-version: '3.9' + architecture: 'x64' - name: Install PlatformIO run: | diff --git a/.github/workflows/buildTest.yml b/.github/workflows/buildTest.yml index 195277f28d..250cbfb9e3 100644 --- a/.github/workflows/buildTest.yml +++ b/.github/workflows/buildTest.yml @@ -15,12 +15,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: '3.7' + python-version: '3.9' + architecture: 'x64' - name: Install PlatformIO run: | diff --git a/.github/workflows/lockClosed.yml b/.github/workflows/lockClosed.yml new file mode 100644 index 0000000000..2071e0fb13 --- /dev/null +++ b/.github/workflows/lockClosed.yml @@ -0,0 +1,32 @@ +# +# lockClosed.yml +# Lock closed issues after a period of inactivity +# + +name: Lock Closed Issues + +on: + schedule: + - cron: '0 1/13 * * *' + +jobs: + lock: + name: Lock Closed Issues + if: github.repository == 'bigtreetech/BIGTREETECH-TouchScreenFirmware' + + runs-on: ubuntu-latest + + steps: + - uses: dessant/lock-threads@v5 + with: + github-token: ${{ github.token }} + process-only: 'issues' + issue-inactive-days: '90' + exclude-issue-created-before: '' + exclude-any-issue-labels: '' + add-issue-labels: '' + issue-comment: > + This issue has been automatically locked since there + has not been any recent activity after it was closed. + Please open a new issue for related bugs. + issue-lock-reason: '' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 13919e3f01..6d025d4c5c 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -3,7 +3,7 @@ # You can adjust the behavior by modifying this file. # For more information, see: # https://github.com/actions/stale -name: Mark stale issues and pull requests +name: Mark Stale Issues and PRs on: schedule: @@ -11,6 +11,8 @@ on: jobs: stale: + name: Mark Stale Issues and PRs + if: github.repository == 'bigtreetech/BIGTREETECH-TouchScreenFirmware' runs-on: ubuntu-latest permissions: