Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/image-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

permissions:
pull-requests: write

jobs:
diff:
runs-on: distroless-ci-large-ubuntu-22.04
Expand All @@ -32,7 +32,7 @@ jobs:

- name: Fetch
run: |
for i in $(seq 10); do
for i in $(seq 10); do
bazel --bazelrc=$GITHUB_WORKSPACE/.github/workflows/ci.bazelrc cquery 'attr(tags, "amd64", ...)' && break
sleep 10;
done
Expand Down Expand Up @@ -71,9 +71,11 @@ jobs:

- name: Write diff to job output for forks
if: ${{ github.event.pull_request.head.repo.fork && steps.diff.outputs.changed_targets }}
env:
CHANGED: ${{ steps.diff.outputs.changed_targets }}
run: |
echo "This pull request has modified the following images:"
echo ${{ steps.diff.outputs.changed_targets }}
echo "$CHANGED"

- uses: peter-evans/find-comment@v4
id: fc
Expand Down
Loading