-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (39 loc) · 1.22 KB
/
ci-setup-trial_0-create-pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
workflow_call:
inputs:
branch:
required: true
type: string
distro:
required: true
type: string
epoch:
required: true
type: string
jobs:
create-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: prep directory
shell: bash
run: |
mkdir -p '${{ inputs.epoch }}/${{ inputs.distro }}/passed/'
- name: copy file
shell: bash
run: |
cp '${{ inputs.epoch }}/${{ inputs.distro }}/staged/seed-environment-conda.yml' \
'${{ inputs.epoch }}/${{ inputs.distro }}/passed/seed-environment-conda.yml'
- name: Create Pull Request
uses: qiime2/create-pull-request@v5
with:
token: ${{ secrets.BOT_PAT }}
branch: ${{ inputs.branch }}
title: "[${{ inputs.distro }}] Automated Trial"
body: |
Automated updates from `ci-setup-trial-${{ inputs.distro }}`
triggered by ${{ github.event_name }}.
author: "q2d2 <[email protected]>"
committer: "q2d2 <[email protected]>"
commit-message: |
Automated updates to seed environment: ${{ inputs.distro }}