File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [main]
88
9- env :
10- can_submit : ${{ github.event_name == 'push' || github.pull_request.user.login == 'scalacenter' }}
11-
129jobs :
1310 scalafmt :
1411 name : Scalafmt and Scalafix
@@ -41,17 +38,20 @@ jobs:
4138 GITHUB_TOKEN : ${{ github.token }}
4239 steps :
4340 - uses : actions/checkout@v3
41+ - run : echo ${{ github.event.pull_request.user.login }}
42+ - run : echo ${{ github.event.pull_request.head.repo.owner.login }}
43+ - run : echo ${{ github.event_name == 'push' || github.event.pull_request.head.repo.owner.login == 'scalacenter' }}
4444 -
uses :
coursier/[email protected] 4545 with :
4646 jvm : ${{ matrix.jvm }}
4747 apps : sbt
4848 - run : sbt test
4949 - run : sbt "scripted dependency-manifest/*"
5050 - run : sbt "scripted submit-snapshot/*"
51- if : github.env.can_submit
51+ if : github.event_name == 'push' || github.event.pull_request.head.repo.owner.login == 'scalacenter'
5252
5353 test-action :
54- if : github.env.can_submit
54+ if : github.event_name == 'push' || github.event.pull_request.head.repo.owner.login == 'scalacenter'
5555 strategy :
5656 matrix :
5757 os : [ubuntu-latest, macOS-latest, windows-latest]
You can’t perform that action at this time.
0 commit comments