Skip to content

Commit 872c1aa

Browse files
chore: checking if user.login is currectly captured
1 parent d729dcd commit 872c1aa

File tree

1 file changed

+29
-25
lines changed

1 file changed

+29
-25
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,39 @@ jobs:
1212
name: Run MongoDB tests
1313
# Code health disabled on forks for now
1414
# if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository
15-
if: github.event.pull_request.user.login == 'dependabot[bot]'
15+
# if: github.event.pull_request.user.login == 'dependabot[bot]'
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
1919
fail-fast: false
2020
runs-on: ${{ matrix.os }}
2121
steps:
22-
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
23-
if: matrix.os == 'ubuntu-latest'
24-
- uses: actions/checkout@v5
25-
- uses: docker/setup-docker-action@v4
26-
if: matrix.os == 'ubuntu-latest'
27-
name: Setup Docker Environment
28-
with:
29-
set-host: true
30-
- uses: actions/setup-node@v6
31-
with:
32-
node-version-file: package.json
33-
cache: "npm"
34-
- name: Install dependencies
35-
run: npm ci
36-
- name: Run tests
37-
run: npm test
22+
- name: Check user
23+
run: echo "USER = $USER"
3824
env:
39-
SKIP_ATLAS_TESTS: "true"
40-
SKIP_ATLAS_LOCAL_TESTS: "true"
41-
- name: Upload test results
42-
if: always() && matrix.os == 'ubuntu-latest'
43-
uses: actions/upload-artifact@v5
44-
with:
45-
name: test-results
46-
path: coverage/lcov.info
25+
USER_NAME: ${{github.event.pull_request.user.login}}
26+
# - uses: GitHubSecurityLab/actions-permissions/monitor@v1
27+
# if: matrix.os == 'ubuntu-latest'
28+
# - uses: actions/checkout@v5
29+
# - uses: docker/setup-docker-action@v4
30+
# if: matrix.os == 'ubuntu-latest'
31+
# name: Setup Docker Environment
32+
# with:
33+
# set-host: true
34+
# - uses: actions/setup-node@v6
35+
# with:
36+
# node-version-file: package.json
37+
# cache: "npm"
38+
# - name: Install dependencies
39+
# run: npm ci
40+
# - name: Run tests
41+
# run: npm test
42+
# env:
43+
# SKIP_ATLAS_TESTS: "true"
44+
# SKIP_ATLAS_LOCAL_TESTS: "true"
45+
# - name: Upload test results
46+
# if: always() && matrix.os == 'ubuntu-latest'
47+
# uses: actions/upload-artifact@v5
48+
# with:
49+
# name: test-results
50+
# path: coverage/lcov.info

0 commit comments

Comments
 (0)