-
Notifications
You must be signed in to change notification settings - Fork 74
44 lines (33 loc) · 1.11 KB
/
upgrade-integrations.yml
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
name: Apply release
on:
workflow_dispatch:
jobs:
create_branch_and_open_pr:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Upgrade integrations
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
./scripts/upgrade-integrations.sh
- name: Open pull request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.MACHINE_USER_TOKEN }}
title: ${{ steps.version.outputs.pr_name }}
branch: ${{ steps.version.outputs.branch_name }}
base: main
body: |
This PR was automatically created by a GitHub Action.
## What does this PR do?
Upgrade dependencies for all integrations
## How should this be manually tested?
./scripts/upgrade-integrations.sh