mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 22:26:05 +08: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 1a92265d03)
* 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>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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
|
||||
Reference in New Issue
Block a user