File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ concurrency:
33
33
jobs :
34
34
tidy :
35
35
uses : taiki-e/github-actions/.github/workflows/tidy.yml@main
36
+ permissions :
37
+ contents : read
38
+ pull-requests : write # for gh pr edit --add-assignee
39
+ repository-projects : read # for gh pr edit --add-assignee
40
+ secrets : inherit
36
41
37
42
test :
38
43
strategy :
Original file line number Diff line number Diff line change 750
750
if [[ -n " ${dependencies_words} " ]]; then
751
751
LC_ALL=C sort -f >> .github/.cspell/rust-dependencies.txt <<< " ${dependencies_words}" $' \n '
752
752
fi
753
- check_diff .github/.cspell/rust-dependencies.txt
753
+ if [[ -z " ${REMOVE_UNUSED_WORDS:- } " ]]; then
754
+ check_diff .github/.cspell/rust-dependencies.txt
755
+ fi
754
756
if ! grep -Fq ' .github/.cspell/rust-dependencies.txt linguist-generated' .gitattributes; then
755
757
error " you may want to mark .github/.cspell/rust-dependencies.txt linguist-generated"
756
758
fi
You can’t perform that action at this time.
0 commit comments