Skip to content

Commit 4783268

Browse files
committed
CCM-12614: add github package manager authentication
1 parent 9af6754 commit 4783268

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ jobs:
158158
permissions:
159159
contents: read
160160
id-token: write
161-
packages: read
162161
if: needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
163162
steps:
164163
- uses: actions/checkout@v5.0.0

infrastructure/terraform/components/dl/pre.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
# It ensures all Node.js dependencies are installed, generates any required dependencies,
55
# and builds all Lambda functions in the workspace before Terraform provisions infrastructure.
66

7+
echo "Running Pre.sh"
8+
9+
ROOT_DIR="$(git rev-parse --show-toplevel)"
10+
11+
echo "Running set-github-token.sh"
12+
13+
$ROOT_DIR/scripts/set-github-token.sh
14+
15+
echo "Completed."
16+
717
npm ci
818

919
npm run generate-dependencies

0 commit comments

Comments
 (0)