Skip to content

Commit f606da6

Browse files
Merge branch 'sticky-comment'
* sticky-comment: Compute diff between recipe versions
2 parents 942a987 + d2b4cc7 commit f606da6

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/qa.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Q&A
22

33
on:
4-
pull_request:
4+
pull_request_target:
55

66
defaults:
77
run:
@@ -40,6 +40,20 @@ jobs:
4040
run: |
4141
.github/recipes-checker-main/run list-unpatched-packages $GITHUB_EVENT_PATH ${{ secrets.GITHUB_TOKEN }} | xargs -n10 rm -rf
4242
43+
-
44+
name: Compute diff between recipe versions
45+
if: "always() && steps.checkout.outcome == 'success'"
46+
run: |
47+
find * -mindepth 1 -maxdepth 1 -type d | sort \
48+
| .github/recipes-checker-main/run diff-recipe-versions \
49+
> .github/diff-recipe-versions.md
50+
51+
-
52+
name: Post diff between recipe versions
53+
if: "always() && steps.checkout.outcome == 'success'"
54+
uses: marocchino/sticky-pull-request-comment@v2
55+
with:
56+
path: .github/diff-recipe-versions.md
4357
-
4458
name: No symlinks
4559
if: "always() && steps.checkout.outcome == 'success'"

0 commit comments

Comments
 (0)