@fabasoad/sarif-to-slack 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/actionlint.yaml +9 -0
- package/.github/workflows/release.yml +16 -6
- package/dist/index.cjs +3 -3
- package/package.json +3 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
self-hosted-runner:
|
|
3
|
+
# Labels of self-hosted runner in array of strings.
|
|
4
|
+
labels: []
|
|
5
|
+
# Configuration variables in array of strings defined in your repository or
|
|
6
|
+
# organization. `null` means disabling configuration variables check.
|
|
7
|
+
# Empty array means no configuration variable is allowed.
|
|
8
|
+
config-variables:
|
|
9
|
+
- GH_APP_CONTENTS_CRUD_APP_ID
|
|
@@ -26,10 +26,17 @@ jobs:
|
|
|
26
26
|
ref: ${{ steps.metadata.outputs.ref }}
|
|
27
27
|
ref-name: ${{ steps.metadata.outputs.ref-name }}
|
|
28
28
|
steps:
|
|
29
|
+
- name: Get GitHub token
|
|
30
|
+
uses: actions/create-github-app-token@v2
|
|
31
|
+
id: github-app
|
|
32
|
+
with:
|
|
33
|
+
app-id: ${{ vars.GH_APP_CONTENTS_CRUD_APP_ID }}
|
|
34
|
+
private-key: ${{ secrets.GH_APP_CONTENTS_CRUD_PRIVATE_KEY }}
|
|
35
|
+
|
|
29
36
|
- name: Checkout ${{ github.repository }}
|
|
30
37
|
uses: actions/checkout@v5
|
|
31
38
|
with:
|
|
32
|
-
token: "${{
|
|
39
|
+
token: "${{ steps.github-app.outputs.token }}"
|
|
33
40
|
|
|
34
41
|
- name: Setup Node
|
|
35
42
|
uses: actions/setup-node@v5
|
|
@@ -41,17 +48,20 @@ jobs:
|
|
|
41
48
|
- name: Install dependencies
|
|
42
49
|
run: npm ci
|
|
43
50
|
|
|
51
|
+
- name: Install jq
|
|
52
|
+
uses: dcarbone/install-jq-action@v3
|
|
53
|
+
|
|
44
54
|
- name: Bump version
|
|
45
55
|
env:
|
|
46
56
|
BUMP_STRATEGY: "${{ github.event.inputs.bump-strategy }}"
|
|
57
|
+
GH_TOKEN: "${{ steps.github-app.outputs.token }}"
|
|
47
58
|
run: |
|
|
48
|
-
|
|
49
|
-
|
|
59
|
+
app_slug="${{ steps.github-app.outputs.app-slug }}"
|
|
60
|
+
user_id="$(gh api "/users/${app_slug}[bot]" --jq .id)"
|
|
61
|
+
git config user.email "${user_id}+${app_slug}[bot]@users.noreply.github.com"
|
|
62
|
+
git config user.name "${app_slug}[bot]"
|
|
50
63
|
npm run version:${BUMP_STRATEGY}
|
|
51
64
|
|
|
52
|
-
- name: Install jq
|
|
53
|
-
uses: dcarbone/install-jq-action@v3
|
|
54
|
-
|
|
55
65
|
- name: Get metadata
|
|
56
66
|
id: metadata
|
|
57
67
|
run: |
|
package/dist/index.cjs
CHANGED
|
@@ -175,9 +175,9 @@ var import_zod2 = require("zod");
|
|
|
175
175
|
var import_zod = require("zod");
|
|
176
176
|
|
|
177
177
|
// src/metadata.json
|
|
178
|
-
var version = "1.3.
|
|
179
|
-
var sha = "
|
|
180
|
-
var buildAt = "2025-10-
|
|
178
|
+
var version = "1.3.3";
|
|
179
|
+
var sha = "f6b4aa737b13486ac47a1582134062221ab15984";
|
|
180
|
+
var buildAt = "2025-10-11T14:41:50Z";
|
|
181
181
|
|
|
182
182
|
// src/system.ts
|
|
183
183
|
function logMetadata() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabasoad/sarif-to-slack",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "TypeScript library to send results of SARIF file to Slack webhook URL.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@slack/webhook": "7.0.6",
|
|
46
46
|
"@types/sarif": "2.1.7",
|
|
47
47
|
"tslog": "4.10.2",
|
|
48
|
-
"zod": "4.1.
|
|
48
|
+
"zod": "4.1.12"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@biomejs/biome": "2.2.
|
|
51
|
+
"@biomejs/biome": "2.2.5",
|
|
52
52
|
"@microsoft/api-documenter": "7.26.36",
|
|
53
53
|
"@microsoft/api-extractor": "7.52.15",
|
|
54
54
|
"@types/jest": "30.0.0",
|