Skip to content

Commit 968b15a

Browse files
fix(ci): don't commit temp files to interop update PR (#3022)
1 parent 0cab466 commit 968b15a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/interop_required.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
python3 .github/interop/update_required.py \
3030
--commits 50 \
3131
--dry-run \
32-
2>check_stderr.txt || true
32+
2>${{ runner.temp }}/check_stderr.txt || true
3333
34-
if grep -q "Found .* new entries" check_stderr.txt; then
34+
if grep -q "Found .* new entries" ${{ runner.temp }}/check_stderr.txt; then
3535
echo "has_updates=true" >> $GITHUB_OUTPUT
3636
else
3737
echo "has_updates=false" >> $GITHUB_OUTPUT
@@ -42,15 +42,15 @@ jobs:
4242
run: |
4343
python3 .github/interop/update_required.py \
4444
--commits 50 \
45-
--pr-description > pr_description.txt
45+
--pr-description > ${{ runner.temp }}/pr_description.txt
4646
4747
- name: Create pull request
4848
if: steps.check.outputs.has_updates == 'true'
4949
uses: peter-evans/create-pull-request@v8
5050
with:
5151
commit-message: "chore(interop): update required interop checks"
5252
title: "chore(interop): update required interop checks"
53-
body-path: pr_description.txt
53+
body-path: ${{ runner.temp }}/pr_description.txt
5454
branch: interop/update-required
5555
delete-branch: true
5656
labels: ci

0 commit comments

Comments
 (0)