-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.03 KB
/
release_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
name: Trigger Release
"on":
schedule:
- cron: "0 11 * * 2"
workflow_dispatch:
jobs:
pull-request:
runs-on: ubuntu-latest
environment: DEV
steps:
- uses: actions/create-github-app-token@v1
id: trigger-token
with:
app-id: ${{ vars.TRIGGER_WORKFLOW_GH_APP_ID}}
private-key: ${{ secrets.TRIGGER_WORKFLOW_GH_APP_KEY }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
repository: opentargets/gentropy
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- uses: actions/checkout@v3
- name: pull-request
uses: diillson/[email protected]
with:
source_branch: "dev"
destination_branch: "main"
pr_title: "chore: trigger release process"
pr_body: ":warning: *This PR requires a MERGE COMMIT (Don't squash or rebase!)*"
pr_label: "auto-pr"
pr_draft: false
pr_allow_empty: true
github_token: ${{ secrets.GITHUB_TOKEN }}