Skip to content

Update priv_release.yml #15

Update priv_release.yml

Update priv_release.yml #15

Workflow file for this run

name: Priv Release
on:
push:
branches:
- priv-release
schedule:
# beijing: 12 pm.
# utc: 4 am.
- cron: "0 4 * * *"
workflow_dispatch:
inputs:
priv_branch:
required: false
default: "main"
concurrency:
group: priv-release-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release pip
permissions:
contents: read
pull-requests: write
uses: Oneflow-Inc/oneflow/.github/workflows/release.yml@master

Check failure on line 27 in .github/workflows/priv_release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/priv_release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/priv_release.yml" -> "Oneflow-Inc/oneflow/.github/workflows/release.yml@master" (source branch with sha:553c55ebb775ad96a1ed534def33ea171e961721) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
is_priv: true
branch: ${{ inputs.priv_branch || 'main' }}
secrets:
ONEFLOW_PRIV_ORG: ${{ secrets.ONEFLOW_PRIV_ORG }}
ONEFLOW_PRIV_GH_TOKEN: ${{ secrets.ONEFLOW_PRIV_GH_TOKEN }}
ONEFLOW_PRIV_OSS_BUCKET: ${{ secrets.ONEFLOW_PRIV_OSS_BUCKET }}
OSS_ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }}
OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }}