Skip to content

fix(publish): pass the release app private key to gh on stdin #104

fix(publish): pass the release app private key to gh on stdin

fix(publish): pass the release app private key to gh on stdin #104

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
unit:
runs-on: ubuntu-latest
permissions:
contents: read
# No pnpm/php: tests/contract.bats asserts test-unit generates no adapter.
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
- name: Run the unit lane
run: mise run ci-unit
integration:
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# workflows.bats diffs the commit that introduced an adapter against its parent.
fetch-depth: 0
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
- name: Enable corepack
run: corepack enable
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: "8.3"
- name: Run the integration lane
run: mise run test-integration
zizmor:
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
# Not common/: its placeholder `uses: you/.github/...` makes ref-confusion
# error out. tests/workflows.bats checks those call sites structurally.
- name: Run zizmor
run: mise exec -- zizmor .github/workflows/