mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-09-29 10:06:41 +00:00
26 lines
723 B
YAML
26 lines
723 B
YAML
name: Label OCI validation pull requests
|
|
|
|
# A pull request that changes verification.json gets the "oci-validation"
|
|
# label, which adds it to the ProxMenux Roadmap. The pull request's code is
|
|
# never checked out: only its list of changed files is read.
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, synchronize]
|
|
paths:
|
|
- 'oci/catalog/verification.json'
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
label:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 2
|
|
steps:
|
|
- env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
NUMBER: ${{ github.event.pull_request.number }}
|
|
run: gh api "repos/$GITHUB_REPOSITORY/issues/$NUMBER/labels" -f "labels[]=oci-validation" --silent
|