opencode/.github/workflows/publish-github-action.yml
Workflow config file is invalid. Please check your config file: Line: 13 Column 3: Failed to match permissions-mapping: Line: 14 Column 3: Unknown Property workflows Line: 13 Column 3: Failed to match permission-level-shorthand-read-all: Line: 13 Column 3: Expected a scalar got mapping Line: 13 Column 3: Failed to match permission-level-shorthand-write-all: Line: 13 Column 3: Expected a scalar got mapping Forgejo Actions YAML Schema validation error
2025-07-20 13:07:48 -04:00

31 lines
608 B
YAML

name: publish-github-action
on:
workflow_dispatch:
push:
tags:
- "github-v*.*.*"
- "!github-v1"
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
workflows: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Publish
run: |
git config --global user.email "opencode@sst.dev"
git config --global user.name "opencode"
./script/publish
working-directory: ./sdks/github