Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornextcloud-android-bot <android@nextcloud.com>2022-06-17 13:53:09 +0300
committernextcloud-android-bot <android@nextcloud.com>2022-06-17 13:53:09 +0300
commit5d1598b1e931d5d2865b12446a0cc56e6e2a30c3 (patch)
treef7c9de84152e0b047914f4cfeea91498d998e686
parent393f553e56b565bef73c6a9b5f49468ab7dae9e4 (diff)
🔄 Synced local '.github/workflows/' with remote 'config/workflows/'repo-sync/android-common/master
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
-rw-r--r--.github/workflows/codeql.yml4
-rw-r--r--.github/workflows/stale.yml40
2 files changed, 26 insertions, 18 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index fd45e51a2f..49b28117cb 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -34,8 +34,8 @@ jobs:
java-version: 11
- name: Assemble
run: |
- mkdir -p $HOME/.gradle
- echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
+ mkdir -p "$HOME/.gradle"
+ echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 40c93657a0..4087f392d5 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -1,20 +1,28 @@
+---
name: 'Close stale issues'
on:
- schedule:
- - cron: '* */2 * * *'
+ schedule:
+ - cron: '0 0 * * *'
+
+# Declare default permissions as read only.
+permissions: read-all
jobs:
- stale:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/stale@v5
- with:
- days-before-stale: 28
- days-before-close: 14
- days-before-pr-close: -1
- only-labels: 'bug,needs info/discussion'
- exempt-issue-labels: 'no-stale'
- stale-issue-message: 'This bug report did not receive an update in the last 4 weeks.
- Please take a look again and update the issue with new details,
- otherwise the issue will be automatically closed in 2 weeks. Thank you!'
- exempt-all-pr-milestones: true
+ stale:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ pull-requests: write
+ steps:
+ - uses: actions/stale@v5
+ with:
+ days-before-stale: 28
+ days-before-close: 14
+ days-before-pr-close: -1
+ only-labels: 'bug,needs info/discussion'
+ exempt-issue-labels: 'no-stale'
+ stale-issue-message: >-
+ This bug report did not receive an update in the last 4 weeks.
+ Please take a look again and update the issue with new details,
+ otherwise the issue will be automatically closed in 2 weeks. Thank you!
+ exempt-all-pr-milestones: true