Skip to content

Commit 4e52fb8

Browse files
committed
debug
1 parent d2cc49e commit 4e52fb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
pull_request:
77
branches: [main]
88

9-
env:
10-
can_submit: ${{ github.event_name == 'push' || github.pull_request.user.login == 'scalacenter' }}
11-
129
jobs:
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/setup-action@v1.2.0-M3
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]

0 commit comments

Comments
 (0)