Skip to content

Create workflows - #3

Open
imangh32676-sketch wants to merge 1 commit into
B3hnamR:masterfrom
imangh32676-sketch:patch-1
Open

Create workflows#3
imangh32676-sketch wants to merge 1 commit into
B3hnamR:masterfrom
imangh32676-sketch:patch-1

Conversation

@imangh32676-sketch

@imangh32676-sketch imangh32676-sketch commented Jun 8, 2026

Copy link
Copy Markdown

Summary by cubic

Adds a GitHub Actions workflow to deploy our app to Fastly on pushes to main and on manual runs. It sets up Node 20, installs deps with npm ci, and deploys via fastly/compute-actions@v5 (creates the service if missing).

  • Migration
    • Add repo secret FASTLY_API_TOKEN with a Fastly token that can deploy Compute services.

Written for commit 07e1611. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="workflows">

<violation number="1" location="workflows:12">
P1: Deployment workflow uses unpinned GitHub Actions tags instead of commit SHAs, increasing CI/CD supply-chain risk.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread workflows
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: Deployment workflow uses unpinned GitHub Actions tags instead of commit SHAs, increasing CI/CD supply-chain risk.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At workflows, line 12:

<comment>Deployment workflow uses unpinned GitHub Actions tags instead of commit SHAs, increasing CI/CD supply-chain risk.</comment>

<file context>
@@ -0,0 +1,27 @@
+  deploy:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Setup Node.js
</file context>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant