Skip to content

Commit 758056d

Browse files
authored
fix: use pull_request_trigger to get access to secrets (#406)
1 parent 5dcef7e commit 758056d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-with-release-profile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Build with '-Prelease'
66
on:
77
# Handle all branches for now
88
push:
9-
pull_request:
9+
pull_request_target:
1010
workflow_dispatch:
1111

1212
# Only run the latest job
@@ -47,7 +47,7 @@ jobs:
4747
mkdir -p ~/.m2
4848
echo "<settings><servers><server><id>central-a2asdk-temp</id><username>${{ secrets.CENTRAL_TOKEN_USERNAME }}</username><password>${{ secrets.CENTRAL_TOKEN_PASSWORD }}</password></server></servers></settings>" > ~/.m2/settings.xml
4949
50-
# Deploy to Maven Central
50+
# Build with the same settings as the deploy job
5151
# -s uses the settings file we created.
5252
- name: Build with same arguments as deploy job
5353
run: >

0 commit comments

Comments
 (0)