-
Notifications
You must be signed in to change notification settings - Fork 18
39 lines (33 loc) · 1.23 KB
/
release.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
name: Respond to linter trigger
on:
repository_dispatch:
types: [trigger-workflow]
jobs:
run:
runs-on: ubuntu-latest
if: github.repository == 'flathub/org.flatpak.Builder'
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run update script
run: |
echo ${{ github.event.client_payload.sha }}
LINTER_SHA=${{ github.event.client_payload.sha }} python3 .github/scripts/rewrite-manfiest.py
- name: Create pull request
if: ${{ success() }}
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.FP_BUILDER_FLATHUBBOT_TOKEN }}
branch-suffix: "random"
commit-message: |
(Automated) Bump linter
Bump linter to ${{ github.event.client_payload.sha }}
title: "(Automated) Bump linter"
body: |
Bump linter to ${{ github.event.client_payload.sha }}
delete-branch: true
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>