Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test2 #3

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
35 changes: 35 additions & 0 deletions .github/workflows/icbundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Integration Candidate Bundle Generation

# Generate Integration Candidate branch for this repository.

on:
workflow_dispatch:
inputs:
pr_nums:
description: 'The pull request numbers to include. Comma separated'
required: true
type: string

jobs:
generate-ic-bundle:
runs-on: ubuntu-latest
steps:
- name: Checkout IC Branch
uses: actions/checkout@v3
with:
fetch-depth: '0'
ref: main
- name: Rebase IC Branch
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git pull
git checkout integration-candidate
git rebase main
- name: Merge each PR
run: |
prs=$(echo ${{ inputs.pr_nums }} | tr "," "\n")
for pr in $prs
do
git merge origin/pull/$pr/head --no-ff -m "Merge pull request #$pr from branch\n\nmessage"
done
1 change: 1 addition & 0 deletions test1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
qwertyuiop
1 change: 1 addition & 0 deletions test2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asdfghjkl