Repository navigation
test(ecosystem): update tiptap ecosystem pin for config path fixes #6852
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Security Analysis | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize] | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/**' | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: ${{ github.ref_name != 'main' }} | |
| jobs: | |
| security: | |
| name: Security Analysis | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| # Checkout self and clone upstream rolldown so the bundled cargo-deny check | |
| # inside security-action can resolve workspace members that reference | |
| # `rolldown/crates/*`. Then clear origin so security-action's nested | |
| # taiki-e/checkout-action can re-add it without conflict. | |
| - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 | |
| - name: Output rolldown hash | |
| id: upstream-versions | |
| shell: bash | |
| run: | | |
| node -e "console.log('ROLLDOWN_HASH=' + require('./packages/tools/.upstream-versions.json').rolldown.hash)" >> $GITHUB_OUTPUT | |
| node -e "console.log('OXC_NODE_HASH=' + require('./packages/tools/.upstream-versions.json')['oxc-node'].hash)" >> $GITHUB_OUTPUT | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| repository: rolldown/rolldown | |
| path: rolldown | |
| ref: ${{ steps.upstream-versions.outputs.ROLLDOWN_HASH }} | |
| persist-credentials: false | |
| # The binding's `oxc-node` path dependency must resolve against the | |
| # patched manifest recorded in Cargo.lock. | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| repository: oxc-project/oxc-node | |
| path: oxc-node | |
| ref: ${{ steps.upstream-versions.outputs.OXC_NODE_HASH }} | |
| persist-credentials: false | |
| # Run the patch script with native TypeScript support instead of unpinned `npx tsx`. | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version-file: .node-version | |
| package-manager-cache: false | |
| - name: Patch vendored oxc-node | |
| shell: bash | |
| run: node packages/tools/src/patch-oxc-node.ts | |
| - name: Clear git origin for nested checkout | |
| shell: bash | |
| run: git remote remove origin | |
| - uses: oxc-project/security-action@a8d382d3e5d0fccc813776e461cb0c3fb9d51a0d # v1.0.10 |