Skip to content

Commit c762a5c

Browse files
authored
Revert "fix: share github secrets to dependabot (#712)" (#771)
This reverts commit 26f05d4.
1 parent ce691cc commit c762a5c

File tree

3 files changed

+13606
-5606
lines changed

3 files changed

+13606
-5606
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
branches: [ dev, master ]
99
pull_request:
1010
branches: [ dev, master ]
11-
pull_request_target:
12-
branches: [ dev, master ]
1311

1412
jobs:
1513
build:
@@ -26,21 +24,8 @@ jobs:
2624
node-version: [14.x]
2725
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2826

29-
if: |
30-
(github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') ||
31-
(github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]')
32-
3327
steps:
34-
- name: Checkout
35-
if: ${{ github.event_name != 'pull_request_target' }}
36-
uses: actions/checkout@v2
37-
38-
- name: Checkout PR
39-
if: ${{ github.event_name == 'pull_request_target' }}
40-
uses: actions/checkout@v2
41-
with:
42-
ref: ${{ github.event.pull_request.head.sha }}
43-
28+
- uses: actions/checkout@v2
4429
- name: Use Node.js ${{ matrix.node-version }}
4530
uses: actions/setup-node@v2
4631
with:

0 commit comments

Comments
 (0)