Skip to content

Commit d0cbcf3

Browse files
committed
Modified workflow
1 parent 2965f8b commit d0cbcf3

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/webpack.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,37 +23,37 @@ on:
2323
workflow_dispatch:
2424

2525
jobs:
26-
check-codeql:
27-
name: Check CodeQL Analysis
28-
runs-on: ubuntu-24.04
26+
#check-codeql:
27+
# name: Check CodeQL Analysis
28+
# runs-on: ubuntu-24.04
2929
# Continue workflow even if this job fails due to inability to find and/or check CodeQL workflow
30-
continue-on-error: true
31-
steps:
32-
- name: Checkout repository
33-
uses: actions/[email protected]
34-
35-
- name: Set up GitHub CLI
36-
run: sudo apt-get install gh
37-
38-
- name: Authenticate GitHub CLI
39-
env:
40-
GH_PAT: ${{ secrets.GH_PAT }}
41-
run: echo "${{ secrets.GH_PAT }}" | gh auth login --with-token
42-
43-
- name: Check CodeQL Workflow
44-
env:
45-
GH_PAT: ${{ secrets.GH_PAT }}
46-
run: |
47-
gh run list --workflow "CodeQL" --json conclusion --jq '.[0].conclusion' > codeql_status.txt
48-
CODEQL_STATUS=$(cat codeql_status.txt)
49-
if [[ "$CODEQL_STATUS" != "success" ]]; then
50-
echo "CodeQL Analysis did not succeed. Exiting..."
51-
exit 1
52-
fi
53-
rm codeql_status.txt
30+
# continue-on-error: true
31+
# steps:
32+
# - name: Checkout repository
33+
# uses: actions/[email protected]
34+
35+
# - name: Set up GitHub CLI
36+
# run: sudo apt-get install gh
37+
38+
# - name: Authenticate GitHub CLI
39+
# env:
40+
# GH_PAT: ${{ secrets.GH_PAT }}
41+
# run: echo "${{ secrets.GH_PAT }}" | gh auth login --with-token
42+
43+
# - name: Check CodeQL Workflow
44+
# env:
45+
# GH_PAT: ${{ secrets.GH_PAT }}
46+
# run: |
47+
# gh run list --workflow "CodeQL" --json conclusion --jq '.[0].conclusion' > codeql_status.txt
48+
# CODEQL_STATUS=$(cat codeql_status.txt)
49+
# if [[ "$CODEQL_STATUS" != "success" ]]; then
50+
# echo "CodeQL Analysis did not succeed. Exiting..."
51+
# exit 1
52+
# fi
53+
# rm codeql_status.txt
5454

5555
build:
56-
needs: check-codeql
56+
#needs: check-codeql
5757
runs-on: ubuntu-24.04
5858
steps:
5959
- name: Checkout repository
@@ -95,7 +95,7 @@ jobs:
9595
run: cp package.json dist/
9696

9797
publish-npm:
98-
needs: [check-codeql, build]
98+
needs: [build]
9999
runs-on: ubuntu-24.04
100100
permissions:
101101
contents: read
@@ -142,7 +142,7 @@ jobs:
142142
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
143143

144144
publish-gpr:
145-
needs: [check-codeql, build]
145+
needs: [build]
146146
runs-on: ubuntu-24.04
147147
# Complete workflow even if this job fails
148148
continue-on-error: true

0 commit comments

Comments
 (0)