3 name: Gather Pull Request Metadata
10 PULL_REQUEST_METADATA_DIR: pull_request
11 PULL_REQUEST_METADATA_FILE: metadata
18 if: github.repository == 'systemd/systemd'
22 - name: Repository checkout
23 uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
27 - name: Store PR number in file
29 mkdir -p ./${{ env.PULL_REQUEST_METADATA_DIR }}
30 echo ${{ github.event.number }} >./${{ env.PULL_REQUEST_METADATA_DIR }}/${{ env.PULL_REQUEST_METADATA_FILE }}
32 - name: Upload Pull Request Metadata artifact
33 uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
35 name: ${{ env.PULL_REQUEST_METADATA_FILE }}
36 path: ${{ env.PULL_REQUEST_METADATA_DIR }}