We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2294d commit a660f5bCopy full SHA for a660f5b
.github/workflows/sync-mailing-list-mirror.yml
@@ -26,6 +26,10 @@ jobs:
26
set -x
27
echo "org=${TARGET_GITHUB_REPOSITORY%%/*}" >>$GITHUB_OUTPUT &&
28
echo "repo=${TARGET_GITHUB_REPOSITORY#*/}" >>$GITHUB_OUTPUT &&
29
+ test workflow_dispatch != '${{ github.event_name }}' || {
30
+ echo "result=true" >>$GITHUB_OUTPUT
31
+ exit 0
32
+ }
33
source="$(git ls-remote "$SOURCE_REPOSITORY" master)" &&
34
target="$(git ls-remote https://github.com/"$TARGET_GITHUB_REPOSITORY" lore-$LORE_EPOCH)" &&
35
echo "result=$(test "${source%% *}" = "${target%% *}" && echo false || echo true)" >>$GITHUB_OUTPUT
0 commit comments