Skip to content

Commit

Permalink
Enable pr-metadata in ruby container
Browse files Browse the repository at this point in the history
The file is mandatory for gathering data

Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Jan 16, 2025
1 parent e9d17bb commit 97f384e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr-metadata.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 97f384e

Please sign in to comment.