mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-10-29 03:12:57 +00:00
32 lines
920 B
YAML
32 lines
920 B
YAML
---
|
|
# This workflow is centrally managed in https://github.com/LizardByte/.github/
|
|
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
|
# the above-mentioned repo.
|
|
|
|
# To use, add the `flathub-pkg` repository label to identify repositories that should trigger this workflow.
|
|
|
|
# Update Flathub on release events.
|
|
|
|
name: Update Flathub repo
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- released
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
update-flathub-repo:
|
|
name: Update Flathub Repo
|
|
uses: LizardByte/.github/.github/workflows/__call-update-flathub-repo.yml@master
|
|
if: github.repository_owner == 'LizardByte'
|
|
secrets:
|
|
GH_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
|
|
GH_NAME: ${{ secrets.GH_BOT_NAME }}
|
|
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
|