File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 47
47
event_name : ${{ github.event_name }}
48
48
tidy :
49
49
uses : taiki-e/github-actions/.github/workflows/tidy.yml@main
50
+ permissions :
51
+ contents : read
52
+ pull-requests : write # for gh pr edit --add-assignee
53
+ repository-projects : read # for gh pr edit --add-assignee
54
+ secrets : inherit
50
55
51
56
test :
52
57
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