Compare commits
18 Commits
v35.7.9-se
...
v35.7.12-s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2be7c3758f | ||
|
|
b109d83a62 | ||
|
|
1a9b8b6fb3 | ||
|
|
b109d82bbf | ||
|
|
2ec76db56c | ||
|
|
bfa633d828 | ||
|
|
5c78c9fe10 | ||
|
|
d6508dfc02 | ||
|
|
2f5a1b0ae2 | ||
|
|
16ac07d309 | ||
|
|
a4648f3cb8 | ||
|
|
0302ff21cd | ||
|
|
123dfd4840 | ||
|
|
79adacd43e | ||
|
|
c7dda75174 | ||
|
|
b3ee2eb875 | ||
|
|
61bf27253d | ||
|
|
6e426e6495 |
2
.github/workflows/submodule-sync.yml
vendored
2
.github/workflows/submodule-sync.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
git submodule update --remote --recursive
|
git submodule update --remote --recursive
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v4.2.4
|
uses: peter-evans/create-pull-request@v5.0.0
|
||||||
with:
|
with:
|
||||||
title: "Updated submodule"
|
title: "Updated submodule"
|
||||||
labels: "merge when passing"
|
labels: "merge when passing"
|
||||||
|
|||||||
9
.github/workflows/sync-release-version.yml
vendored
9
.github/workflows/sync-release-version.yml
vendored
@@ -32,6 +32,7 @@ jobs:
|
|||||||
|
|
||||||
update-version:
|
update-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: create-sec-tag
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -46,12 +47,10 @@ jobs:
|
|||||||
only_major: true
|
only_major: true
|
||||||
paths: |
|
paths: |
|
||||||
README.md
|
README.md
|
||||||
- name: Generate CHANGELOG
|
- name: Run git-cliff
|
||||||
uses: tj-actions/github-changelog-generator@v1.18
|
uses: tj-actions/git-cliff@v1
|
||||||
with:
|
|
||||||
output: 'HISTORY.md'
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v4.2.4
|
uses: peter-evans/create-pull-request@v5.0.0
|
||||||
with:
|
with:
|
||||||
base: "main"
|
base: "main"
|
||||||
labels: "merge when passing"
|
labels: "merge when passing"
|
||||||
|
|||||||
2
.github/workflows/update-readme.yml
vendored
2
.github/workflows/update-readme.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v5
|
||||||
with:
|
with:
|
||||||
base: "main"
|
base: "main"
|
||||||
labels: "merge when passing"
|
labels: "merge when passing"
|
||||||
|
|||||||
6702
HISTORY.md
6702
HISTORY.md
File diff suppressed because it is too large
Load Diff
@@ -350,7 +350,6 @@ See [action.yml](action.yml#L264) for a list of all available keys.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
...
|
...
|
||||||
|
|
||||||
- name: Get changed files and write the outputs to a json file
|
- name: Get changed files and write the outputs to a json file
|
||||||
id: changed-files-write-output-files-json
|
id: changed-files-write-output-files-json
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|||||||
@@ -255,7 +255,7 @@ runs:
|
|||||||
INPUT_HAS_CUSTOM_PATTERNS: ${{ steps.glob.outputs.has-custom-patterns }}
|
INPUT_HAS_CUSTOM_PATTERNS: ${{ steps.glob.outputs.has-custom-patterns }}
|
||||||
INPUT_JSON_RAW_FORMAT: ${{ inputs.json_raw_format }}
|
INPUT_JSON_RAW_FORMAT: ${{ inputs.json_raw_format }}
|
||||||
- name: Generate output files
|
- name: Generate output files
|
||||||
uses: tj-actions/json2file@c56bc641b77b7b29451be35949e452fcadadf0d0 # v1.4.0
|
uses: tj-actions/json2file@e6872653b4c7168e64b05ee07f60c1cfce653560 # v1.4.1
|
||||||
if: inputs.write_output_files == 'true'
|
if: inputs.write_output_files == 'true'
|
||||||
with:
|
with:
|
||||||
outputs: ${{ toJSON(steps.changed-files.outputs) }}
|
outputs: ${{ toJSON(steps.changed-files.outputs) }}
|
||||||
|
|||||||
10
diff-sha.sh
10
diff-sha.sh
@@ -251,23 +251,17 @@ else
|
|||||||
|
|
||||||
if [[ "$IS_SHALLOW" == "true" ]]; then
|
if [[ "$IS_SHALLOW" == "true" ]]; then
|
||||||
# check if the merge base is in the local history
|
# check if the merge base is in the local history
|
||||||
if ! git merge-base "$PREVIOUS_SHA" "$CURRENT_SHA" 1>/dev/null 2>&1; then
|
if ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
|
||||||
echo "::debug::Merge base is not in the local history, fetching remote target branch..."
|
echo "::debug::Merge base is not in the local history, fetching remote target branch..."
|
||||||
# Fetch more of the target branch history until the merge base is found
|
# Fetch more of the target branch history until the merge base is found
|
||||||
for i in {1..10}; do
|
for i in {1..10}; do
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH" 1>/dev/null
|
git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH" 1>/dev/null
|
||||||
if git merge-base "$PREVIOUS_SHA" "$CURRENT_SHA" 1>/dev/null 2>&1; then
|
if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "::debug::Merge base is not in the local history, fetching remote target branch again..."
|
echo "::debug::Merge base is not in the local history, fetching remote target branch again..."
|
||||||
echo "::debug::Attempt $i/10"
|
echo "::debug::Attempt $i/10"
|
||||||
|
|
||||||
if [[ $i -eq 10 ]]; then
|
|
||||||
echo "::error::Unable to find the merge base between $PREVIOUS_SHA and $CURRENT_SHA"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user