Skip to content

Commit 05e8023

Browse files
committed
ci: fix secret passing
1 parent ca1bb19 commit 05e8023

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
name: build
22

33
on:
4-
push:
5-
branches:
6-
- "main"
7-
8-
pull_request:
4+
pull_request_target:
95
paths:
106
- "go.*"
117
- "**/*.go"
@@ -109,8 +105,8 @@ jobs:
109105
- name: Test scm-engine against test GitLab project
110106
run: ./scm-engine evaluate 1
111107
env:
112-
SCM_ENGINE_CONFIG_FILE: ".scm-engine.example.yml"
113108
SCM_ENGINE_TOKEN: "${{ secrets.GITLAB_INTEGRATION_TEST_API_TOKEN }}"
109+
SCM_ENGINE_CONFIG_FILE: ".scm-engine.example.yml"
114110
GITLAB_PROJECT: "jippi/scm-engine-schema-test"
115111
GITLAB_BASEURL: https://gitlab.com/
116112

0 commit comments

Comments
 (0)