Skip to content

Merge pull request #316 from apollographql/sync/main-into-develop-pr-315 #5

Merge pull request #316 from apollographql/sync/main-into-develop-pr-315

Merge pull request #316 from apollographql/sync/main-into-develop-pr-315 #5

name: Canary Release
on:
push:
# don't run on tags, run on commits
# https://github.com/orgs/community/discussions/25615
tags-ignore:
- "**"
branches:
- develop
workflow_dispatch:
permissions:
contents: read
packages: write
concurrency:
group: canary-${{ github.ref }}
cancel-in-progress: true
jobs:
compute_canary_version:
runs-on: ubuntu-24.04
outputs:
version: ${{ steps.canary_version.outputs.version }}
steps:
- name: Compute canary version
id: canary_version
run: |
SHORT_SHA=${GITHUB_SHA::7}
DATE=$(date -u +%Y%m%dT%H%M%SZ)
echo "version=canary-${DATE}-${SHORT_SHA}" >> "$GITHUB_OUTPUT"
release_container:

Check failure on line 33 in .github/workflows/canary-release.yml

View workflow run for this annotation

GitHub Actions / Canary Release

Invalid workflow file

The workflow is not valid. .github/workflows/canary-release.yml (Line: 33, Col: 3): Error calling workflow 'apollographql/apollo-mcp-server/.github/workflows/release-container.yml@61c32f27e303f7a34e3c83837a1b2824f6888cfe'. The nested job 'build' is requesting 'attestations: write, id-token: write', but is only allowed 'attestations: none, id-token: none'.
needs: compute_canary_version
uses: ./.github/workflows/release-container.yml
with:
version: ${{ needs.compute_canary_version.outputs.version }}
secrets: inherit