mirror of
https://github.com/meshtastic/firmware.git
synced 2026-04-06 16:33:20 -04:00
Reduce perms to least-necessary Remove merge_queue.yml since it's never been used and is now stale Remove comment-artifact, it hasn't worked in ages.
36 lines
829 B
YAML
36 lines
829 B
YAML
name: Trigger COPR build
|
|
|
|
on:
|
|
workflow_call:
|
|
secrets:
|
|
COPR_API_CONFIG:
|
|
inputs:
|
|
copr_project:
|
|
description: COPR project to target
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-copr-hook:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Trigger COPR build
|
|
uses: vidplace7/copr-build@main
|
|
id: copr_build
|
|
env:
|
|
COPR_API_TOKEN_CONFIG: ${{ secrets.COPR_API_CONFIG }}
|
|
with:
|
|
owner: "@meshtastic"
|
|
package-name: meshtasticd
|
|
project-name: ${{ inputs.copr_project }}
|
|
git-remote: "${{ github.server_url }}/${{ github.repository }}.git"
|
|
committish: ${{ github.sha }}
|