File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 grammar-check :
10- if : github.repository == 'rust-lang/reference'
10+ if : github.repository == 'rust-lang/reference' || github.event_name == 'workflow_dispatch'
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout reference repository
4444 cargo run --release -p grammar-check -- lex-compare --tool rustc_parse
4545
4646 - name : Check for existing open issues
47- if : steps.grammar-check.outcome == 'failure'
47+ if : github.repository == 'rust-lang/reference' && steps.grammar-check.outcome == 'failure'
4848 id : check-issues
4949 env :
5050 GH_TOKEN : ${{ github.token }}
5454 echo "open_issues=$ISSUE_COUNT" >> $GITHUB_OUTPUT
5555
5656 - name : Create issue on failure
57- if : steps.grammar-check.outcome == 'failure' && steps.check-issues.outputs.open_issues == '0'
57+ if : github.repository == 'rust-lang/reference' && steps.grammar-check.outcome == 'failure' && steps.check-issues.outputs.open_issues == '0'
5858 env :
5959 GH_TOKEN : ${{ github.token }}
6060 run : |
You can’t perform that action at this time.
0 commit comments