forked from rabbitmq/rabbitmq-server
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.3 KB
/
gazelle.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
name: Run gazelle
on:
workflow_dispatch:
inputs:
target_branch:
description: Branch on which to run
required: true
default: main
jobs:
bazel-run-gazelle:
name: bazel run gazelle
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: CHECKOUT REPOSITORY
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.target_branch }}
- name: Configure Erlang
uses: erlef/setup-beam@v1
with:
otp-version: 26.2
elixir-version: 1.15
- name: BAZEL RUN GAZELLE
run: |
bazel run gazelle
- name: CREATE PULL REQUEST
uses: peter-evans/[email protected]
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
committer: GitHub <[email protected]>
author: GitHub <[email protected]>
title: bazel run gazelle
body: >
Automated changes created by
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
using the [create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action in the ${{ github.workflow }} workflow.
commit-message: |
bazel run gazelle
branch: gazelle-${{ github.event.inputs.target_branch }}
delete-branch: true