Files
ait/.gitea/workflows/sync-github.yml
Max P. de05716b07
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
fix(workflows): correct token syntax in releases sync action
- Replace `${{ ACTIONS_RUNTIME_TOKEN }}` with `$ACTIONS_RUNTIME_TOKEN`
  to fix incorrect token reference in the workflow configuration.
- Ensures proper authentication for the releases sync action.
2025-05-26 17:14:48 +02:00

29 lines
723 B
YAML

name: Sync Release to GitHub
on:
workflow_dispatch:
inputs:
tag:
description: "Release tag to synchronize"
required: false
type: string
release:
types: [published, edited]
jobs:
sync-github:
runs-on: ubuntu-22.04
steps:
- name: Run Releases Sync Action
uses: https://git.0xmax42.io/actions/releases-sync@main
with:
gitea_token: $ACTIONS_RUNTIME_TOKEN
gitea_url: https://git.0xmax42.io
gitea_owner: maxp
gitea_repo: ait
tag_name: ${{ inputs.tag || github.event.release.tag_name }}
github_token: ${{ secrets.SYNC_GITHUB_TOKEN }}
github_owner: 0xMax42
github_repo: ait