For .clang-format and pytest.ini, MIT-0 is used because people might want to copy those.
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
# doc: https://github.com/redhat-plumbers-in-action/devel-freezer#readme
|
|
---
|
|
|
|
name: Development Freeze
|
|
on:
|
|
workflow_run:
|
|
workflows: [ Gather Pull Request Metadata ]
|
|
types:
|
|
- completed
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
freezer:
|
|
if: >
|
|
github.event.workflow_run.event == 'pull_request' &&
|
|
github.event.workflow_run.conclusion == 'success' &&
|
|
github.repository == 'systemd/systemd'
|
|
runs-on: ubuntu-24.04
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- id: artifact
|
|
name: Download Pull Request Metadata artifact
|
|
uses: redhat-plumbers-in-action/download-artifact@03d5b806a9dca9928eb5628833fe81a0558f23bb
|
|
with:
|
|
name: Pull Request Metadata
|
|
|
|
- name: Repository checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Development Freezer
|
|
uses: redhat-plumbers-in-action/devel-freezer@ad766eafd555b28d2cb8e27937835983f9c3d173
|
|
with:
|
|
pr-number: ${{ fromJSON(steps.artifact.outputs.pr-metadata-json).number }}
|
|
# delay start of validation to allow for some milestone/labels tweaking
|
|
delay: 20
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|