Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cloudflare-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ permissions:

jobs:
quality:
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy-path: ${{ inputs.quality-policy-path }}
deployment-policy-path: ${{ inputs.deployment-policy-path }}
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
permissions:
contents: read
deployments: write
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@bdb6a6c76b0fc229fa2a54ed91c3ddf78c2ea4ec # v1.7.1
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.1
with:
# Under single topology the candidate and the release are the same
# Worker, so deploying here would serve the merge immediately and there
Expand All @@ -98,7 +98,7 @@ jobs:
permissions:
contents: read
deployments: write
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@bdb6a6c76b0fc229fa2a54ed91c3ddf78c2ea4ec # v1.7.1
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.1
with:
operation: preview
target: release
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
permissions:
contents: read
deployments: write
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@bdb6a6c76b0fc229fa2a54ed91c3ddf78c2ea4ec # v1.7.1
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.1
with:
operation: deploy
target: release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloudflare-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false &&
github.event.pull_request.head.repo.full_name == github.repository)
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy-path: ${{ inputs.quality-policy-path }}
deployment-policy-path: ${{ inputs.deployment-policy-path }}
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
permissions:
contents: read
deployments: write
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@bdb6a6c76b0fc229fa2a54ed91c3ddf78c2ea4ec # v1.7.1
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.1
with:
operation: preview
target: candidate
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cloudflare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

quality:
needs: validate
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy-path: ${{ inputs.quality-policy-path }}
deployment-policy-path: ${{ inputs.deployment-policy-path }}
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
permissions:
contents: read
deployments: write
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@bdb6a6c76b0fc229fa2a54ed91c3ddf78c2ea4ec # v1.7.1
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.1
with:
operation: preview
target: release
Expand All @@ -108,7 +108,7 @@ jobs:
permissions:
contents: read
deployments: write
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@bdb6a6c76b0fc229fa2a54ed91c3ddf78c2ea4ec # v1.7.1
uses: burnt-labs/github-workflows/.github/workflows/cloudflare-version.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.1
with:
operation: deploy
target: release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cloudflare-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: lts/*
- name: Enable Corepack
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
# The same pinned action as the deploy below, for the same reason the
# secrets step uses it: wrangler out of the consumer's node_modules
# would put a caller-resolved binary next to the deployment credential.
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
with:
apiToken: ${{ secrets.cloudflare-api-token || secrets.BURNT_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.cloudflare-account-id || secrets.BURNT_CLOUDFLARE_ACCOUNT_ID }}
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
echo "Publishing $(jq -r 'keys | join(", ")' "$RUNNER_TEMP/worker-secrets.json")"
- name: Upload or deploy Worker version
id: wrangler
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
with:
apiToken: ${{ secrets.cloudflare-api-token || secrets.BURNT_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.cloudflare-account-id || secrets.BURNT_CLOUDFLARE_ACCOUNT_ID }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ permissions:

jobs:
quality:
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy-path: ${{ inputs.quality-policy-path }}

Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
# API commits are signed by GitHub, which branch protection tends
# to want.
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
fi
- name: Create release pull request or publish to npm
if: steps.freshness.outputs.stale == 'false'
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2
with:
title: ${{ inputs.pr-title }}
commit: ${{ inputs.pr-commit }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
quality:
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0

metadata:
needs: quality
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
permissions:
contents: read
id-token: write
uses: burnt-labs/github-workflows/.github/workflows/npm-publish.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/npm-publish.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy: ${{ needs.quality.outputs.quality-policy }}
npm-policy: ${{ needs.quality.outputs.npm-policy }}
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
permissions:
contents: read
id-token: write
uses: burnt-labs/github-workflows/.github/workflows/npm-publish.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/npm-publish.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy: ${{ needs.quality.outputs.quality-policy }}
npm-policy: ${{ needs.quality.outputs.npm-policy }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
quality:
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0

pack:
name: Package dry run
Expand All @@ -19,7 +19,7 @@ jobs:
working-directory: ${{ fromJSON(needs.quality.outputs.npm-policy).workingDirectory }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
working-directory: ${{ fromJSON(inputs.quality-policy).workingDirectory }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
quality:
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0

metadata:
needs: quality
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
permissions:
contents: read
id-token: write
uses: burnt-labs/github-workflows/.github/workflows/npm-publish.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/npm-publish.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0
with:
quality-policy: ${{ needs.quality.outputs.quality-policy }}
npm-policy: ${{ needs.quality.outputs.npm-policy }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/phala-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

quality:
needs: policy
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@3332fc8e0049b837e851778cb1fb2be1f24acb1a # v1.7.0
uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@d3096758fcd3e5bbc5a9622b8f1f5182b80aab86 # v1.7.0

deploy:
name: Phala ${{ inputs.target }}
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: lts/*
- name: Resolve image
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
;;
esac
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Login to GHCR for push
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
Expand All @@ -146,7 +146,7 @@ jobs:
password: ${{ github.token }}
- name: Build and push image
id: build
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ${{ fromJSON(needs.policy.outputs.phala).image.context }}
file: ${{ fromJSON(needs.policy.outputs.phala).image.dockerfile }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/required-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node
if: fromJSON(needs.policy.outputs.quality).toolchain == 'node'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: lts/*
- name: Enable Corepack
Expand Down