Skip to content

Commit 32d9b02

Browse files
committed
Fix GitHub findings
1 parent b05bd90 commit 32d9b02

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,17 @@ jobs:
101101
runner-path: ${{ github.workspace }}/actrun
102102
graph-file: build-test-publish.act
103103
inputs: ${{ toJson(inputs) }}
104-
secrets: ${{ toJson(secrets) }}
104+
secrets: >-
105+
{
106+
"APPLE_P12_CERTIFICATE_PASSWORD": "${{ secrets.APPLE_P12_CERTIFICATE_PASSWORD }}",
107+
"APPLE_P12_CERTIFICATE_BASE64": "${{ secrets.APPLE_P12_CERTIFICATE_BASE64 }}",
108+
"TESTE2E_DO_S3_ACCESS_KEY": "${{ secrets.TESTE2E_DO_S3_ACCESS_KEY }}",
109+
"TESTE2E_DO_S3_SECRET_KEY": "${{ secrets.TESTE2E_DO_S3_SECRET_KEY }}",
110+
"TESTE2E_AWS_S3_ACCESS_KEY": "${{ secrets.TESTE2E_AWS_S3_ACCESS_KEY }}",
111+
"TESTE2E_AWS_S3_SECRET_KEY": "${{ secrets.TESTE2E_AWS_S3_SECRET_KEY }}",
112+
"PUBLISH_S3_SECRET_KEY": "${{ secrets.PUBLISH_S3_SECRET_KEY }}",
113+
"PUBLISH_S3_ACCESS_KEY": "${{ secrets.PUBLISH_S3_ACCESS_KEY }}"
114+
}
105115
matrix: ${{ toJson(matrix) }}
106116

107117
docker-manifest:

nodes/gh-action@v1.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
// 3. ([-\w\.]+) -> Repo Name (Required)
4242
// 4. (/[^@]+)? -> Path (Optional). Matches slash followed by anything NOT an @
4343
// 5. (@[-\w\.]+)? -> Ref/Version (Optional). Matches @ followed by chars
44-
var nodeTypeIdRegex = regexp.MustCompile(`^(github.com/)?([-\w\.]+)/([-\w\.]+)(/[^@]+)?(@[-\w\.]+)?$`)
44+
var nodeTypeIdRegex = regexp.MustCompile(`^(github\.com/)?([-\w\.]+)/([-\w\.]+)(/[^@]+)?(@[-\w\.]+)?$`)
4545

4646
type ActionType int
4747

0 commit comments

Comments
 (0)