mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-22 21:06:09 +03:00
🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
This commit is contained in:
parent
77f7871d78
commit
551fccca35
4 changed files with 17 additions and 12 deletions
22
.github/workflows/analysis.yml
vendored
22
.github/workflows/analysis.yml
vendored
|
@ -24,14 +24,18 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
if [ -z "$GITHUB_HEAD_REF" ]; then
|
if [ -z "$GITHUB_HEAD_REF" ]; then
|
||||||
# push
|
# push
|
||||||
echo "branch=$GITHUB_REF_NAME" >> "$GITHUB_OUTPUT"
|
{
|
||||||
echo "pr=$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT"
|
echo "branch=$GITHUB_REF_NAME"
|
||||||
echo "repo=${{ github.repository }}" >> "$GITHUB_OUTPUT"
|
echo "pr=$GITHUB_RUN_ID"
|
||||||
|
echo "repo=${{ github.repository }}"
|
||||||
|
} >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
# pull request
|
# pull request
|
||||||
echo "branch=$GITHUB_HEAD_REF" >> "$GITHUB_OUTPUT"
|
{
|
||||||
echo "pr=${{ github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
|
echo "branch=$GITHUB_HEAD_REF"
|
||||||
echo "repo=${{ github.event.pull_request.head.repo.full_name }}" >> "$GITHUB_OUTPUT"
|
echo "pr=${{ github.event.pull_request.number }}"
|
||||||
|
echo "repo=${{ github.event.pull_request.head.repo.full_name }}"
|
||||||
|
} >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
|
@ -49,6 +53,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.gradle
|
mkdir -p "$HOME/.gradle"
|
||||||
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
|
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
|
||||||
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ steps.get-vars.outputs.pr }}
|
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} "$GITHUB_RUN_NUMBER" ${{ steps.get-vars.outputs.pr }}
|
||||||
|
|
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
swap-size-gb: 10
|
swap-size-gb: 10
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
|
uses: github/codeql-action/init@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
|
@ -46,4 +46,4 @@ jobs:
|
||||||
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
|
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
|
||||||
./gradlew assembleDebug --no-configuration-cache
|
./gradlew assembleDebug --no-configuration-cache
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
|
uses: github/codeql-action/analyze@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1
|
||||||
|
|
2
.github/workflows/scorecard.yml
vendored
2
.github/workflows/scorecard.yml
vendored
|
@ -37,6 +37,6 @@ jobs:
|
||||||
|
|
||||||
# Upload the results to GitHub's code scanning dashboard.
|
# Upload the results to GitHub's code scanning dashboard.
|
||||||
- name: "Upload to code-scanning"
|
- name: "Upload to code-scanning"
|
||||||
uses: github/codeql-action/upload-sarif@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
|
uses: github/codeql-action/upload-sarif@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1
|
||||||
with:
|
with:
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
|
|
1
.github/workflows/stale.yml
vendored
1
.github/workflows/stale.yml
vendored
|
@ -26,3 +26,4 @@ jobs:
|
||||||
Please take a look again and update the issue with new details,
|
Please take a look again and update the issue with new details,
|
||||||
otherwise the issue will be automatically closed in 2 weeks. Thank you!
|
otherwise the issue will be automatically closed in 2 weeks. Thank you!
|
||||||
exempt-all-pr-milestones: true
|
exempt-all-pr-milestones: true
|
||||||
|
labels-to-remove-when-unstale: 'needs info'
|
||||||
|
|
Loading…
Reference in a new issue