name: "PR Management Add Labels Collect Data" on: pull_request: types: [opened, reopened] branches: - main - 'release-harvester-v*' jobs: collect: if: github.event.pull_request.draft == false runs-on: ubuntu-latest permissions: contents: read actions: write steps: - name: Save PR data to artifact run: | { echo "PR_NUMBER=${{ github.event.pull_request.number }}" echo "PR_BASE_REF=${{ github.event.pull_request.base.ref }}" echo "PR_USER_LOGIN=${{ github.event.pull_request.user.login }}" } > pr-backport-label-data.env - name: Upload PR data artifact uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: pr-backport-label-data path: pr-backport-label-data.env