name: Interoperability tests
on: push
permissions:
  contents: read
jobs:
  trigger:
    name: Trigger
    runs-on: ubuntu-latest
    steps:
      - name: Trigger interoperability tests in str4d/rage
        run: >
          gh api repos/str4d/rage/dispatches
            --field event_type="age-interop-request"
            --field client_payload[sha]="$GITHUB_SHA"
        env:
          GITHUB_TOKEN: ${{ secrets.RAGE_INTEROP_ACCESS_TOKEN }}
