From c9dd246a9eba386e6d3e345145a5662624cbab28 Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Thu, 16 Jan 2025 16:05:13 +0100 Subject: [PATCH] Enable pr-metadata in ruby container The file is mandatory for gathering data Signed-off-by: Petr "Stone" Hracek --- .github/workflows/pr-metadata.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-metadata.yml diff --git a/.github/workflows/pr-metadata.yml b/.github/workflows/pr-metadata.yml new file mode 100644 index 00000000..e4c77dbe --- /dev/null +++ b/.github/workflows/pr-metadata.yml @@ -0,0 +1,27 @@ +name: Gather Pull Request Metadata +on: + pull_request: + types: [ opened, reopened, synchronize ] + branches: [ master ] + +permissions: + contents: read + +jobs: + gather-metadata: + if: github.repository_owner == 'sclorg' + runs-on: ubuntu-latest + + steps: + - name: Repository checkout + uses: actions/checkout@v4 + + - id: Metadata + name: Gather Pull Request Metadata + uses: redhat-plumbers-in-action/gather-pull-request-metadata@v1 + + - name: Upload artifact with gathered metadata + uses: actions/upload-artifact@v4 + with: + name: pr-metadata + path: ${{ steps.Metadata.outputs.metadata-file }}