Skip to content

Commit ee304c8

Browse files
authored
Merge pull request #13 from yaito3014/minimize-secret
Minimize secrets
1 parent e927118 commit ee304c8

File tree

6 files changed

+483
-195
lines changed

6 files changed

+483
-195
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
version: 24.04
2020
build_type: [Release, Debug]
2121
cpp_version: [20, 23, 26]
22-
boost_version: [1.86.0]
2322
compiler:
2423
- vendor: GNU
2524
version: 13
@@ -43,15 +42,16 @@ jobs:
4342
- compile
4443
runs-on: ubuntu-latest
4544
environment:
46-
name: MyEnvironment
45+
name: CppWarningNotifier
4746
steps:
4847
- uses: actions/checkout@v6
4948
- uses: actions/download-artifact@v7
5049
- uses: ./
5150
with:
5251
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
APP_ID: ${{ vars.APP_ID }}
5452
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
55-
INSTALLATION_ID: ${{ vars.INSTALLATION_ID }}
56-
CLIENT_ID: ${{ vars.CLIENT_ID }}
57-
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
53+
ARTIFACT_REGEX: compilation_(?<runId>\d+)_(?<jobId>\d+)_log
54+
STEP_REGEX: build-.*
55+
JOB_REGEX: compile \((?<osName>.+?), (?<osVersion>.+?), (?<config>.+?), (?<cppVersion>.+?), (?<vendorName>.+?), (?<vendorVersion>.+?)\)
56+
ROW_HEADERS: '["osName","osVersion","vendorName","vendorVersion","config"]'
57+
COLUMN_HEADER: cppVersion

action.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,16 @@ description: Notifies about C++ warnings in GitHub Actions
44

55
inputs:
66
GITHUB_TOKEN:
7-
description: GitHub token for authentication
8-
required: true
9-
APP_ID:
10-
description: GitHub App ID
117
required: true
128
PRIVATE_KEY:
13-
description: Private key for GitHub App
149
required: true
15-
CLIENT_ID:
16-
description: Client ID for GitHub App
10+
JOB_REGEX:
1711
required: true
18-
CLIENT_SECRET:
19-
description: Client secret for GitHub App
12+
STEP_REGEX:
2013
required: true
21-
INSTALLATION_ID:
22-
description: Installation ID for GitHub App
14+
ARTIFACT_REGEX:
2315
required: true
2416

2517
runs:
26-
using: 'node20'
27-
main: 'dist/index.js'
18+
using: "node20"
19+
main: "dist/index.js"

dist/index.js

Lines changed: 93 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)