mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-05-14 15:01:44 +00:00
* ci: update PR auto assign workflows Signed-off-by: Andy Lee <andy.lee@suse.com> * ci: update backport label workflow Signed-off-by: Andy Lee <andy.lee@suse.com> * ci: update backport PR via mergify workflow Signed-off-by: Andy Lee <andy.lee@suse.com> * ci: update add PR label workflow Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: file name Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: limit auto-assign-check for target branches Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
31 lines
866 B
YAML
31 lines
866 B
YAML
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
|