mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-05-14 15:01:44 +00:00
* ci: replace pull_request_target with two-step workflows (#841) * 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> (cherry picked from commit 1a92265d039357ad0c1ae3641c6a9aa32a3ab146) * ci: remove brackets in PR Management Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>
28 lines
737 B
YAML
28 lines
737 B
YAML
name: "PR Management Auto Assign Collect Data"
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, ready_for_review]
|
|
branches:
|
|
- main
|
|
- 'release-harvester-v*'
|
|
|
|
jobs:
|
|
collect:
|
|
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_AUTHOR=${{ github.event.pull_request.user.login }}"
|
|
} > pr-auto-assign-data.env
|
|
|
|
- name: Upload PR data artifact
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
with:
|
|
name: pr-auto-assign-data
|
|
path: pr-auto-assign-data.env |