mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-06 13:48:58 +02:00
add pull_request.number
This commit is contained in:
parent
a5d219ed05
commit
eecdedb7f2
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -16,7 +16,7 @@ on:
|
|||||||
# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of
|
# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of
|
||||||
# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened.
|
# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened.
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref_name || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -147,7 +147,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate OpenAPI documentation
|
- name: Generate OpenAPI documentation
|
||||||
run: ./gradlew :stirling-pdf:generateOpenApiDocs
|
run: ./gradlew :stirling-pdf:generateOpenApiDocs
|
||||||
|
|
||||||
- name: Upload OpenAPI Documentation
|
- name: Upload OpenAPI Documentation
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||||
with:
|
with:
|
||||||
|
6
.github/workflows/check_properties.yml
vendored
6
.github/workflows/check_properties.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of
|
# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of
|
||||||
# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened.
|
# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened.
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref_name || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
|
|
||||||
// Filter for relevant files based on the PR changes
|
// Filter for relevant files based on the PR changes
|
||||||
const changedFiles = files
|
const changedFiles = files
|
||||||
.filter(file =>
|
.filter(file =>
|
||||||
file.status !== "removed" &&
|
file.status !== "removed" &&
|
||||||
/^app\/core\/src\/main\/resources\/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$/.test(file.filename)
|
/^app\/core\/src\/main\/resources\/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$/.test(file.filename)
|
||||||
)
|
)
|
||||||
@ -289,4 +289,4 @@ jobs:
|
|||||||
rm -rf pr-branch
|
rm -rf pr-branch
|
||||||
rm -f pr-branch-messages_en_GB.properties main-branch-messages_en_GB.properties changed_files.txt result.txt
|
rm -f pr-branch-messages_en_GB.properties main-branch-messages_en_GB.properties changed_files.txt result.txt
|
||||||
echo "Cleanup complete."
|
echo "Cleanup complete."
|
||||||
continue-on-error: true # Ensure cleanup runs even if previous steps fail
|
continue-on-error: true # Ensure cleanup runs even if previous steps fail
|
||||||
|
2
.github/workflows/sonarqube.yml
vendored
2
.github/workflows/sonarqube.yml
vendored
@ -18,7 +18,7 @@ on:
|
|||||||
# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of
|
# This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of
|
||||||
# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened.
|
# in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened.
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref_name || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
Loading…
Reference in New Issue
Block a user