Skip to content

Conversation

@jsoref
Copy link
Member

@jsoref jsoref commented Jan 10, 2021

No description provided.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@jsoref

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@jsoref

This comment has been minimized.

@ibsmfar
Copy link

ibsmfar commented Jan 21, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@github-actions

This comment has been minimized.

@jsoref

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Jan 24, 2021

@check-spelling-bot Report

Unrecognized words, please review:

  • github
  • https
Previously acknowledged words that are now absent ipsum lorem
To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands

... in a clone of the [email protected]:jsoref/examples-testing.git repository
on the sample branch:

update_files() {
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"$patch_remove"');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
use File::Basename qw(dirname);
make_path (dirname($new_expect_file));
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"$patch_add"');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
}

comment_json=$(mktemp)
curl -L -s -S \
  --header "Content-Type: application/json" \
  "https://api.github.com/repos/check-spelling/examples-testing/issues/comments/766327800" > "$comment_json"
comment_body=$(mktemp)
jq -r .body < "$comment_json" > $comment_body
rm $comment_json
patch_remove=$(perl -ne 'next unless s{^</summary>(.*)</details>$}{$1}; print' < "$comment_body")
patch_add=$(perl -e '$/=undef;
$_=<>;
s{<details>.*}{}s;
s{^#.*}{};
s{\n##.*}{};
s{(?:^|\n)\s*\*}{}g;
s{\s+}{ }g;
print' < "$comment_body")
update_files
rm $comment_body
git add -u &&
[ ! -e "$new_expect_file" ] || git add "$new_expect_file"

Alternatively,
Quote this line to have @check-spelling-bot apply these changes.

@jsoref

This comment has been minimized.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

6 similar comments
@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@github-actions
Copy link

@jsoref
Copy link
Member Author

jsoref commented Jan 24, 2021

Quote this line to have @check-spelling-bot apply these changes.

@github-actions
Copy link

@check-spelling-bot: Instructions didn't change repository

@jsoref
Copy link
Member Author

jsoref commented Jan 25, 2021

Quote this line to have @check-spelling-bot apply these changes.

@github-actions
Copy link

@check-spelling-bot: Could not perform request. Expected github-actions[bot] to be author of https://api.github.com/repos/check-spelling/examples-testing/issues/comments/766283970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants