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
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: '${{ matrix.node }}'
- name: Get pnpm version from Volta config
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: ${{ steps.pnpm-version.outputs.version }}
- uses: actions/cache@v4
- uses: actions/cache@v5
id: cache
with:
path: node_modules
Expand All @@ -51,7 +51,7 @@ jobs:
environment: ${{ github.ref == 'refs/heads/master' && 'production' }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version-file: package.json
- name: Get pnpm version from Volta config
Expand All @@ -60,7 +60,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: ${{ steps.pnpm-version.outputs.version }}
- uses: actions/cache@v4
- uses: actions/cache@v5
id: cache
with:
path: node_modules
Expand All @@ -78,7 +78,7 @@ jobs:
- name: NPM Pack
run: npm pack
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: craft-binary
path: |
Expand All @@ -93,7 +93,7 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version-file: package.json
- name: Get pnpm version from Volta config
Expand All @@ -112,7 +112,7 @@ jobs:
cp .nojekyll docs/dist/
cd docs/dist && zip -r ../../gh-pages.zip .
- name: Upload Docs Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: craft-docs
path: ${{ github.workspace }}/gh-pages.zip
4 changes: 2 additions & 2 deletions .github/workflows/changelog-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,20 @@
steps:
# For pull_request_target, we must explicitly specify the ref to get the PR commits.
# Try the merge ref first; fall back to head ref if PR has merge conflicts.
- uses: actions/checkout@v4
- uses: actions/checkout@v6
id: checkout-merge
continue-on-error: true
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.pull_request.number }}/merge

- uses: actions/checkout@v4
- uses: actions/checkout@v6
if: steps.checkout-merge.outcome == 'failure'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Install Craft

Check failure

Code scanning / CodeQL

Checkout of untrusted code in trusted context High

Potential execution of untrusted code on a privileged workflow (
pull_request_target
)
shell: bash
run: |
set -euo pipefail
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: '22'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version-file: package.json
- name: Get pnpm version from Volta config
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: ${{ steps.pnpm-version.outputs.version }}
- uses: actions/cache@v4
- uses: actions/cache@v5
id: cache
with:
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ jobs:
- name: Get auth token
id: token
if: github.event_name == 'workflow_dispatch' && github.repository == 'getsentry/craft'
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
uses: actions/create-github-app-token@v3
with:
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# Use release bot token for Craft repo, inherited token for external repos
token: ${{ steps.token.outputs.token || github.token }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ runs:
- name: Download Craft from build artifact
id: craft-artifact
if: github.repository == 'getsentry/craft'
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
uses: actions/download-artifact@v8
with:
name: craft-binary
path: /tmp/craft-artifact
Expand Down
Loading