mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22:05 +00:00
Small Fix: Release_Channels permissions (#5852)
Some checks failed
Daily Packaging / package-ppa (jammy) (push) Has been cancelled
Daily Packaging / package-ppa (noble) (push) Has been cancelled
Daily Packaging / package-ppa (oracular) (push) Has been cancelled
Daily Packaging / package-ppa (plucky) (push) Has been cancelled
Daily Packaging / package-obs (push) Has been cancelled
Daily Packaging / hook-copr (push) Has been cancelled
CI / setup (check) (push) Has been cancelled
CI / setup (esp32) (push) Has been cancelled
CI / setup (esp32c3) (push) Has been cancelled
CI / setup (esp32c6) (push) Has been cancelled
CI / setup (esp32s3) (push) Has been cancelled
CI / setup (nrf52840) (push) Has been cancelled
CI / setup (rp2040) (push) Has been cancelled
CI / setup (stm32) (push) Has been cancelled
CI / package-raspbian (push) Has been cancelled
CI / package-raspbian-armv7l (push) Has been cancelled
CI / package-native (push) Has been cancelled
CI / build-debian-src (push) Has been cancelled
CI / test-native (push) Has been cancelled
CI / build-docker (push) Has been cancelled
Flawfinder Scan / Flawfinder (push) Has been cancelled
CI / check (push) Has been cancelled
CI / build-esp32 (push) Has been cancelled
CI / build-esp32-s3 (push) Has been cancelled
CI / build-esp32-c3 (push) Has been cancelled
CI / build-esp32-c6 (push) Has been cancelled
CI / build-nrf52 (push) Has been cancelled
CI / build-rpi2040 (push) Has been cancelled
CI / build-stm32 (push) Has been cancelled
CI / after-checks (push) Has been cancelled
CI / gather-artifacts (esp32) (push) Has been cancelled
CI / gather-artifacts (esp32c3) (push) Has been cancelled
CI / gather-artifacts (esp32c6) (push) Has been cancelled
CI / gather-artifacts (esp32s3) (push) Has been cancelled
CI / gather-artifacts (nrf52840) (push) Has been cancelled
CI / gather-artifacts (rp2040) (push) Has been cancelled
CI / gather-artifacts (stm32) (push) Has been cancelled
CI / release-artifacts (push) Has been cancelled
CI / release-firmware (esp32) (push) Has been cancelled
CI / release-firmware (esp32c3) (push) Has been cancelled
CI / release-firmware (esp32c6) (push) Has been cancelled
CI / release-firmware (esp32s3) (push) Has been cancelled
CI / release-firmware (nrf52840) (push) Has been cancelled
CI / release-firmware (rp2040) (push) Has been cancelled
CI / release-firmware (stm32) (push) Has been cancelled
Some checks failed
Daily Packaging / package-ppa (jammy) (push) Has been cancelled
Daily Packaging / package-ppa (noble) (push) Has been cancelled
Daily Packaging / package-ppa (oracular) (push) Has been cancelled
Daily Packaging / package-ppa (plucky) (push) Has been cancelled
Daily Packaging / package-obs (push) Has been cancelled
Daily Packaging / hook-copr (push) Has been cancelled
CI / setup (check) (push) Has been cancelled
CI / setup (esp32) (push) Has been cancelled
CI / setup (esp32c3) (push) Has been cancelled
CI / setup (esp32c6) (push) Has been cancelled
CI / setup (esp32s3) (push) Has been cancelled
CI / setup (nrf52840) (push) Has been cancelled
CI / setup (rp2040) (push) Has been cancelled
CI / setup (stm32) (push) Has been cancelled
CI / package-raspbian (push) Has been cancelled
CI / package-raspbian-armv7l (push) Has been cancelled
CI / package-native (push) Has been cancelled
CI / build-debian-src (push) Has been cancelled
CI / test-native (push) Has been cancelled
CI / build-docker (push) Has been cancelled
Flawfinder Scan / Flawfinder (push) Has been cancelled
CI / check (push) Has been cancelled
CI / build-esp32 (push) Has been cancelled
CI / build-esp32-s3 (push) Has been cancelled
CI / build-esp32-c3 (push) Has been cancelled
CI / build-esp32-c6 (push) Has been cancelled
CI / build-nrf52 (push) Has been cancelled
CI / build-rpi2040 (push) Has been cancelled
CI / build-stm32 (push) Has been cancelled
CI / after-checks (push) Has been cancelled
CI / gather-artifacts (esp32) (push) Has been cancelled
CI / gather-artifacts (esp32c3) (push) Has been cancelled
CI / gather-artifacts (esp32c6) (push) Has been cancelled
CI / gather-artifacts (esp32s3) (push) Has been cancelled
CI / gather-artifacts (nrf52840) (push) Has been cancelled
CI / gather-artifacts (rp2040) (push) Has been cancelled
CI / gather-artifacts (stm32) (push) Has been cancelled
CI / release-artifacts (push) Has been cancelled
CI / release-firmware (esp32) (push) Has been cancelled
CI / release-firmware (esp32c3) (push) Has been cancelled
CI / release-firmware (esp32c6) (push) Has been cancelled
CI / release-firmware (esp32s3) (push) Has been cancelled
CI / release-firmware (nrf52840) (push) Has been cancelled
CI / release-firmware (rp2040) (push) Has been cancelled
CI / release-firmware (stm32) (push) Has been cancelled
This commit is contained in:
parent
729c39fb86
commit
dd9ab7f0e1
38
.github/workflows/hook_copr.yml
vendored
38
.github/workflows/hook_copr.yml
vendored
@ -38,38 +38,24 @@ jobs:
|
|||||||
|
|
||||||
project_name = "${{ inputs.copr_project }}"
|
project_name = "${{ inputs.copr_project }}"
|
||||||
if project_name == "daily":
|
if project_name == "daily":
|
||||||
hook_secret = "${{ secrets.COPR_HOOK_DAILY }}"
|
hook_secret = "${{ secrets.COPR_HOOK_DAILY }}"
|
||||||
project_id = 160277
|
project_id = 160277
|
||||||
elif project_name == "alpha":
|
elif project_name == "alpha":
|
||||||
hook_secret = "${{ secrets.COPR_HOOK_ALPHA }}"
|
hook_secret = "${{ secrets.COPR_HOOK_ALPHA }}"
|
||||||
project_id = 160278
|
project_id = 160278
|
||||||
elif project_name == "beta":
|
elif project_name == "beta":
|
||||||
hook_secret = "${{ secrets.COPR_HOOK_BETA }}"
|
hook_secret = "${{ secrets.COPR_HOOK_BETA }}"
|
||||||
project_id = 160279
|
project_id = 160279
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"Unknown COPR project: {project_name}")
|
raise ValueError(f"Unknown COPR project: {project_name}")
|
||||||
|
|
||||||
webhook_url = f"https://copr.fedorainfracloud.org/webhooks/github/{project_id}/{hook_secret}/meshtasticd/"
|
webhook_url = f"https://copr.fedorainfracloud.org/webhooks/github/{project_id}/{hook_secret}/meshtasticd/"
|
||||||
copr_payload = {
|
copr_payload = {
|
||||||
"event": "push",
|
"ref": "${{ github.ref }}",
|
||||||
"payload": {
|
"after": "${{ github.sha }}",
|
||||||
"ref": "${{ github.ref }}",
|
"repository": {
|
||||||
"after": "${{ github.sha }}",
|
"clone_url": "${{ github.server_url }}/${{ github.repository }}.git",
|
||||||
"repository": {
|
|
||||||
"id": "${{ github.repository_id }}",
|
|
||||||
"full_name": "${{ github.repository }}",
|
|
||||||
"git_url": "${{ github.repositoryUrl }}",
|
|
||||||
"owner": {
|
|
||||||
"name": "${{ github.repository_owner }}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pusher": {
|
|
||||||
"name": "${{ github.actor }}"
|
|
||||||
},
|
|
||||||
"sender": {
|
|
||||||
"login": "github-actions[bot]"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
r = requests.post(webhook_url, json=copr_payload)
|
r = requests.post(webhook_url, json=copr_payload, headers={"X-GitHub-Event": "push"})
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
|
4
.github/workflows/release_channels.yml
vendored
4
.github/workflows/release_channels.yml
vendored
@ -4,7 +4,9 @@ on:
|
|||||||
release:
|
release:
|
||||||
types: [published, released]
|
types: [published, released]
|
||||||
|
|
||||||
permissions: read-all
|
permissions:
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package-ppa:
|
package-ppa:
|
||||||
|
Loading…
Reference in New Issue
Block a user