You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve comprehensive CI failures, pin actions, and enhance security
- Pinned all GitHub Actions to full-length commit SHAs across all workflows.
- Restored missing requirements.txt, requirements-dev.txt, and governance requirements files to satisfy CI setup steps.
- Fixed regressions in rag-agentic-dashboard/server.js by ensuring 'req' parameters are only renamed to '_req' if truly unused.
- Implemented a robust in-memory rate limiter in server.js to address CodeQL security alerts regarding file system access.
- Optimized slow regular expressions in server.js to mitigate potential ReDoS vulnerabilities identified by CodeQL.
- Added missing docstrings to Python governance tools to satisfy CodeFactor linting.
- Fixed indentation and structural errors in sample workflows (e.g., azure-webapps-node.yml) to ensure they are valid YAML and pass repository unit tests.
- Verified that 'make verify-governance' (29/29) and workflow tests (411/411) pass locally.
Co-authored-by: OneFineStarstuff <87420139+OneFineStarstuff@users.noreply.github.com>
tags: your-dockerhub-username/agi-pipeline:latest# This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch.
30
-
#
31
-
# This workflow assumes you have already created the target Azure App Service web app.
32
-
# For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli
33
-
#
34
-
# To configure this workflow:
35
-
#
36
-
# 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal.
37
-
# For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials
38
-
#
39
-
# 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret.
40
-
# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
41
-
#
42
-
# 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below.
43
-
#
44
-
# For more information on GitHub Actions for Azure: https://github.com/Azure/Actions
45
-
# For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
46
-
# For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples
1
+
name: Deploy Node.js to Azure Web App
47
2
48
3
on:
49
4
push:
50
5
branches: ["main"]
51
6
workflow_dispatch:
52
7
53
8
env:
54
-
AZURE_WEBAPP_NAME: your-app-name# set this to your application's name
55
-
AZURE_WEBAPP_PACKAGE_PATH: '.'# set this to the path to your web app project, defaults to the repository root
56
-
NODE_VERSION: '20.x'# set this to the node version to use
0 commit comments